MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::NoDefInit_MR_ObjId Struct Reference
Inheritance diagram for meshlib::NoDefInit_MR_ObjId:

Public Member Functions

auto convert_to_int () const -> core::ffi::c_int
auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::NoDefInit_MR_ObjId) -> &mut meshlib::NoDefInit_MR_ObjId
auto valid () const -> bool
auto get () -> &mut core::ffi::c_int
auto op_equal_mr_obj_id (b:meshlib::ObjId) const -> bool
auto op_not_equal_mr_obj_id (b:meshlib::ObjId) const -> bool
auto op_less_mr_obj_id (b:meshlib::ObjId) const -> bool
auto sub_assign (a:core::ffi::c_int) -> &mut meshlib::ObjId
auto add_assign (a:core::ffi::c_int) -> &mut meshlib::ObjId
auto id_ () const -> &core::ffi::c_int
auto id__mut () -> &mut core::ffi::c_int
void set_id_ (value:core::ffi::c_int)
auto upcast_to_obj_id () const -> &meshlib::ObjId
auto upcast_to_obj_id_mut () -> &mut meshlib::ObjId

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::NoDefInit_MR_ObjId >
static auto construct_from_another (_other:&meshlib::NoDefInit_MR_ObjId) -> meshlib::Owned< meshlib::NoDefInit_MR_ObjId >
static auto static_downcast_from_obj_id (object:&meshlib::ObjId) -> &Self
static auto static_downcast_from_obj_id_mut (object:&mut meshlib::ObjId) -> &mut Self
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

this class is similar to T, but does not make default initialization of the fields for best performance Generated from class MR::NoDefInit<MR::ObjId>. Base classes: Direct: (non-virtual) MR::ObjId

Generated from class MR::NoDefInit<MR::ObjId>. Heap-allocated instances are held in Owned<NoDefInit_MR_ObjId>.

Member Function Documentation

◆ add_assign()

auto meshlib::NoDefInit_MR_ObjId::add_assign ( a:core::ffi::c_int ) -> &mut meshlib::ObjId

Generated from method MR::NoDefInit<MR::ObjId>::operator+=.

Calls MR_NoDefInit_MR_ObjId_add_assign(). The reference to this object might be preserved in the return value.

◆ assign_from_another()

auto meshlib::NoDefInit_MR_ObjId::assign_from_another ( _other:&meshlib::NoDefInit_MR_ObjId ) -> &mut meshlib::NoDefInit_MR_ObjId

Generated from method MR::NoDefInit<MR::ObjId>::operator=.

Calls MR_NoDefInit_MR_ObjId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from_another()

auto meshlib::NoDefInit_MR_ObjId::construct_from_another ( _other:&meshlib::NoDefInit_MR_ObjId ) -> meshlib::Owned< meshlib::NoDefInit_MR_ObjId >
static

Generated from constructor MR::NoDefInit<MR::ObjId>::NoDefInit.

Calls MR_NoDefInit_MR_ObjId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ convert_to_bool()

auto meshlib::NoDefInit_MR_ObjId::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::NoDefInit<MR::ObjId>::operator bool.

Calls MR_NoDefInit_MR_ObjId_ConvertTo_bool().

◆ convert_to_int()

auto meshlib::NoDefInit_MR_ObjId::convert_to_int ( ) const -> core::ffi::c_int

Generated from conversion operator MR::NoDefInit<MR::ObjId>::operator int.

Calls MR_NoDefInit_MR_ObjId_ConvertTo_int().

◆ get()

auto meshlib::NoDefInit_MR_ObjId::get ( ) -> &mut core::ffi::c_int

Generated from method MR::NoDefInit<MR::ObjId>::get.

Calls MR_NoDefInit_MR_ObjId_get().

◆ id_()

auto meshlib::NoDefInit_MR_ObjId::id_ ( ) const -> &core::ffi::c_int

Returns a pointer to a member variable of class MR::NoDefInit<MR::ObjId> named id_.

Calls MR_NoDefInit_MR_ObjId_Get_id_(). The reference to this object might be preserved as the return value.

◆ id__mut()

auto meshlib::NoDefInit_MR_ObjId::id__mut ( ) -> &mut core::ffi::c_int

Returns a mutable pointer to a member variable of class MR::NoDefInit<MR::ObjId> named id_.

Calls MR_NoDefInit_MR_ObjId_GetMutable_id_(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::NoDefInit_MR_ObjId::new ( ) -> meshlib::Owned< meshlib::NoDefInit_MR_ObjId >
static

Constructs an empty (default-constructed) instance.

Calls MR_NoDefInit_MR_ObjId_DefaultConstruct().

◆ op_equal_mr_obj_id()

auto meshlib::NoDefInit_MR_ObjId::op_equal_mr_obj_id ( b:meshlib::ObjId ) const -> bool

Generated from method MR::NoDefInit<MR::ObjId>::operator==.

Calls MR_equal_MR_NoDefInit_MR_ObjId_MR_ObjId().

◆ op_less_mr_obj_id()

auto meshlib::NoDefInit_MR_ObjId::op_less_mr_obj_id ( b:meshlib::ObjId ) const -> bool

Generated from method MR::NoDefInit<MR::ObjId>::operator<.

Calls MR_less_MR_NoDefInit_MR_ObjId_MR_ObjId().

◆ op_not_equal_mr_obj_id()

auto meshlib::NoDefInit_MR_ObjId::op_not_equal_mr_obj_id ( b:meshlib::ObjId ) const -> bool

Generated from method MR::NoDefInit<MR::ObjId>::operator!=.

Calls MR_not_equal_MR_NoDefInit_MR_ObjId_MR_ObjId().

◆ set_id_()

void meshlib::NoDefInit_MR_ObjId::set_id_ ( value:core::ffi::c_int )

Modifies a member variable of class MR::NoDefInit<MR::ObjId> named id_.

Calls MR_NoDefInit_MR_ObjId_Set_id_().

◆ static_downcast_from_obj_id()

auto meshlib::NoDefInit_MR_ObjId::static_downcast_from_obj_id ( object:&meshlib::ObjId ) -> &Self
static

Static downcast from the base class MR::ObjId.

Calls MR_NoDefInit_MR_ObjId_StaticDowncastFrom_MR_ObjId(). Undefined behavior if the object isn't actually a NoDefInit_MR_ObjId.

Note
This function is unsafe.

◆ static_downcast_from_obj_id_mut()

auto meshlib::NoDefInit_MR_ObjId::static_downcast_from_obj_id_mut ( object:&mut meshlib::ObjId ) -> &mut Self
static

Static downcast from the base class MR::ObjId.

Calls MR_NoDefInit_MR_ObjId_MutableStaticDowncastFrom_MR_ObjId(). Undefined behavior if the object isn't actually a NoDefInit_MR_ObjId.

Note
This function is unsafe.

◆ sub_assign()

auto meshlib::NoDefInit_MR_ObjId::sub_assign ( a:core::ffi::c_int ) -> &mut meshlib::ObjId

Generated from method MR::NoDefInit<MR::ObjId>::operator-=.

Calls MR_NoDefInit_MR_ObjId_sub_assign(). The reference to this object might be preserved in the return value.

◆ upcast_to_obj_id()

auto meshlib::NoDefInit_MR_ObjId::upcast_to_obj_id ( ) const -> &meshlib::ObjId

Upcasts to the base class MR::ObjId.

Calls MR_NoDefInit_MR_ObjId_UpcastTo_MR_ObjId().

◆ upcast_to_obj_id_mut()

auto meshlib::NoDefInit_MR_ObjId::upcast_to_obj_id_mut ( ) -> &mut meshlib::ObjId

Upcasts to the base class MR::ObjId.

Calls MR_NoDefInit_MR_ObjId_MutableUpcastTo_MR_ObjId().

◆ valid()

auto meshlib::NoDefInit_MR_ObjId::valid ( ) const -> bool

Generated from method MR::NoDefInit<MR::ObjId>::valid.

Calls MR_NoDefInit_MR_ObjId_valid().


The documentation for this struct was generated from the following file: