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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::BoxNestingCorner) -> &mut meshlib::nesting::BoxNestingCorner
auto pos () const -> &meshlib::Vector3f
auto pos_mut () -> &mut meshlib::Vector3f
void set_pos (value:meshlib::Vector3f)
auto bit_mask () const -> &core::ffi::c_uchar
auto bit_mask_mut () -> &mut core::ffi::c_uchar
void set_bit_mask (value:core::ffi::c_uchar)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::nesting::BoxNestingCorner >
static auto construct_from (pos:meshlib::Vector3f, bitMask:core::ffi::c_uchar) -> meshlib::Owned< meshlib::nesting::BoxNestingCorner >
static auto construct_from_another (_other:&meshlib::nesting::BoxNestingCorner) -> meshlib::Owned< meshlib::nesting::BoxNestingCorner >
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

Generated from class MR::Nesting::BoxNestingCorner.

Generated from class MR::Nesting::BoxNestingCorner. Heap-allocated instances are held in Owned<BoxNestingCorner>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::nesting::BoxNestingCorner::assign_from_another ( _other:&meshlib::nesting::BoxNestingCorner ) -> &mut meshlib::nesting::BoxNestingCorner

Generated from method MR::Nesting::BoxNestingCorner::operator=.

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

◆ bit_mask()

auto meshlib::nesting::BoxNestingCorner::bit_mask ( ) const -> &core::ffi::c_uchar

corner mask 0bZYX (0b000 - lower left corner, 0b111 - upper right) Returns a pointer to a member variable of class MR::Nesting::BoxNestingCorner named bitMask.

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

◆ bit_mask_mut()

auto meshlib::nesting::BoxNestingCorner::bit_mask_mut ( ) -> &mut core::ffi::c_uchar

corner mask 0bZYX (0b000 - lower left corner, 0b111 - upper right) Returns a mutable pointer to a member variable of class MR::Nesting::BoxNestingCorner named bitMask.

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

◆ construct_from()

auto meshlib::nesting::BoxNestingCorner::construct_from ( pos:meshlib::Vector3f ,
bitMask:core::ffi::c_uchar  ) -> meshlib::Owned< meshlib::nesting::BoxNestingCorner >
static

Constructs MR::Nesting::BoxNestingCorner elementwise.

Calls MR_Nesting_BoxNestingCorner_ConstructFrom(). The reference to the parameter pos might be preserved in the constructed object. The reference to the parameter bitMask might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Nesting::BoxNestingCorner::BoxNestingCorner.

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

◆ new()

auto meshlib::nesting::BoxNestingCorner::new ( ) -> meshlib::Owned< meshlib::nesting::BoxNestingCorner >
static

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_BoxNestingCorner_DefaultConstruct().

◆ pos()

auto meshlib::nesting::BoxNestingCorner::pos ( ) const -> &meshlib::Vector3f

Vector3f - corner position Returns a pointer to a member variable of class MR::Nesting::BoxNestingCorner named pos.

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

◆ pos_mut()

auto meshlib::nesting::BoxNestingCorner::pos_mut ( ) -> &mut meshlib::Vector3f

Vector3f - corner position Returns a mutable pointer to a member variable of class MR::Nesting::BoxNestingCorner named pos.

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

◆ set_bit_mask()

void meshlib::nesting::BoxNestingCorner::set_bit_mask ( value:core::ffi::c_uchar )

corner mask 0bZYX (0b000 - lower left corner, 0b111 - upper right) Modifies a member variable of class MR::Nesting::BoxNestingCorner named bitMask.

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

◆ set_pos()

void meshlib::nesting::BoxNestingCorner::set_pos ( value:meshlib::Vector3f )

Vector3f - corner position Modifies a member variable of class MR::Nesting::BoxNestingCorner named pos.

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


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