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

Public Member Functions

auto convert_to_size_t () const -> usize
auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::NoDefInit_MR_VoxelId) -> &mut meshlib::NoDefInit_MR_VoxelId
auto valid () const -> bool
auto get () -> &mut usize
auto op_equal_mr_voxel_id (b:meshlib::VoxelId) const -> bool
auto op_not_equal_mr_voxel_id (b:meshlib::VoxelId) const -> bool
auto op_less_mr_voxel_id (b:meshlib::VoxelId) const -> bool
auto sub_assign (a:usize) -> &mut meshlib::VoxelId
auto add_assign (a:usize) -> &mut meshlib::VoxelId
auto id_ () const -> &usize
auto id__mut () -> &mut usize
void set_id_ (value:usize)
auto upcast_to_voxel_id () const -> &meshlib::VoxelId
auto upcast_to_voxel_id_mut () -> &mut meshlib::VoxelId

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::NoDefInit_MR_VoxelId >
static auto construct_from_another (_other:&meshlib::NoDefInit_MR_VoxelId) -> meshlib::Owned< meshlib::NoDefInit_MR_VoxelId >
static auto static_downcast_from_voxel_id (object:&meshlib::VoxelId) -> &Self
static auto static_downcast_from_voxel_id_mut (object:&mut meshlib::VoxelId) -> &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::VoxelId>. Base classes: Direct: (non-virtual) MR::VoxelId

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

Member Function Documentation

◆ add_assign()

auto meshlib::NoDefInit_MR_VoxelId::add_assign ( a:usize ) -> &mut meshlib::VoxelId

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

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

◆ assign_from_another()

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

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

Calls MR_NoDefInit_MR_VoxelId_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_VoxelId::construct_from_another ( _other:&meshlib::NoDefInit_MR_VoxelId ) -> meshlib::Owned< meshlib::NoDefInit_MR_VoxelId >
static

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

Calls MR_NoDefInit_MR_VoxelId_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_VoxelId::convert_to_bool ( ) const -> bool

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

Calls MR_NoDefInit_MR_VoxelId_ConvertTo_bool().

◆ convert_to_size_t()

auto meshlib::NoDefInit_MR_VoxelId::convert_to_size_t ( ) const -> usize

Generated from conversion operator MR::NoDefInit<MR::VoxelId>::operator size_t.

Calls MR_NoDefInit_MR_VoxelId_ConvertTo_size_t().

◆ get()

auto meshlib::NoDefInit_MR_VoxelId::get ( ) -> &mut usize

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

Calls MR_NoDefInit_MR_VoxelId_get().

◆ id_()

auto meshlib::NoDefInit_MR_VoxelId::id_ ( ) const -> &usize

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

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

◆ id__mut()

auto meshlib::NoDefInit_MR_VoxelId::id__mut ( ) -> &mut usize

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_NoDefInit_MR_VoxelId_DefaultConstruct().

◆ op_equal_mr_voxel_id()

auto meshlib::NoDefInit_MR_VoxelId::op_equal_mr_voxel_id ( b:meshlib::VoxelId ) const -> bool

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

Calls MR_equal_MR_NoDefInit_MR_VoxelId_MR_VoxelId().

◆ op_less_mr_voxel_id()

auto meshlib::NoDefInit_MR_VoxelId::op_less_mr_voxel_id ( b:meshlib::VoxelId ) const -> bool

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

Calls MR_less_MR_NoDefInit_MR_VoxelId_MR_VoxelId().

◆ op_not_equal_mr_voxel_id()

auto meshlib::NoDefInit_MR_VoxelId::op_not_equal_mr_voxel_id ( b:meshlib::VoxelId ) const -> bool

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

Calls MR_not_equal_MR_NoDefInit_MR_VoxelId_MR_VoxelId().

◆ set_id_()

void meshlib::NoDefInit_MR_VoxelId::set_id_ ( value:usize )

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

Calls MR_NoDefInit_MR_VoxelId_Set_id_(). The reference to the parameter value might be preserved in this object in element id_.

◆ static_downcast_from_voxel_id()

auto meshlib::NoDefInit_MR_VoxelId::static_downcast_from_voxel_id ( object:&meshlib::VoxelId ) -> &Self
static

Static downcast from the base class MR::VoxelId.

Calls MR_NoDefInit_MR_VoxelId_StaticDowncastFrom_MR_VoxelId(). Undefined behavior if the object isn't actually a NoDefInit_MR_VoxelId.

Note
This function is unsafe.

◆ static_downcast_from_voxel_id_mut()

auto meshlib::NoDefInit_MR_VoxelId::static_downcast_from_voxel_id_mut ( object:&mut meshlib::VoxelId ) -> &mut Self
static

Static downcast from the base class MR::VoxelId.

Calls MR_NoDefInit_MR_VoxelId_MutableStaticDowncastFrom_MR_VoxelId(). Undefined behavior if the object isn't actually a NoDefInit_MR_VoxelId.

Note
This function is unsafe.

◆ sub_assign()

auto meshlib::NoDefInit_MR_VoxelId::sub_assign ( a:usize ) -> &mut meshlib::VoxelId

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

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

◆ upcast_to_voxel_id()

auto meshlib::NoDefInit_MR_VoxelId::upcast_to_voxel_id ( ) const -> &meshlib::VoxelId

Upcasts to the base class MR::VoxelId.

Calls MR_NoDefInit_MR_VoxelId_UpcastTo_MR_VoxelId().

◆ upcast_to_voxel_id_mut()

auto meshlib::NoDefInit_MR_VoxelId::upcast_to_voxel_id_mut ( ) -> &mut meshlib::VoxelId

Upcasts to the base class MR::VoxelId.

Calls MR_NoDefInit_MR_VoxelId_MutableUpcastTo_MR_VoxelId().

◆ valid()

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

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

Calls MR_NoDefInit_MR_VoxelId_valid().


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