MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::MeshVertPart:

Public Member Functions

auto assign_from_another (other:&meshlib::MeshVertPart) -> &mut meshlib::MeshVertPart
auto mesh () const -> &meshlib::Mesh
auto region () const -> *const *const meshlib::ffi::MR_VertBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_region (value:Option<&meshlib::VertBitSet >)

Static Public Member Functions

static auto construct_from_another (other:&meshlib::MeshVertPart) -> meshlib::Owned< meshlib::MeshVertPart >
static auto construct (m:&meshlib::Mesh, bs:Option<&meshlib::VertBitSet >) -> meshlib::Owned< meshlib::MeshVertPart >
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

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid) Generated from class MR::MeshVertPart.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::MeshVertPart::assign_from_another ( other:&meshlib::MeshVertPart ) -> &mut meshlib::MeshVertPart

Generated from method MR::MeshVertPart::operator=.

Calls MR_MeshVertPart_AssignFromAnother(). The reference to things referred to by the parameter other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

◆ construct()

auto meshlib::MeshVertPart::construct ( m:&meshlib::Mesh ,
bs:Option<&meshlib::VertBitSet >  ) -> meshlib::Owned< meshlib::MeshVertPart >
static

Generated from constructor MR::MeshVertPart::MeshVertPart.

Calls MR_MeshVertPart_Construct(). The reference to the parameter m might be preserved in the constructed object. The reference to the parameter bs might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::MeshVertPart::construct_from_another ( other:&meshlib::MeshVertPart ) -> meshlib::Owned< meshlib::MeshVertPart >
static

Make this assignable. A better idea would be to rewrite the class to not use references, but doing this instead preserves API compatibility. Generated from constructor MR::MeshVertPart::MeshVertPart.

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

◆ mesh()

auto meshlib::MeshVertPart::mesh ( ) const -> &meshlib::Mesh

Returns a pointer to a member variable of class MR::MeshVertPart named mesh.

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

◆ region()

auto meshlib::MeshVertPart::region ( ) const -> *const *const meshlib::ffi::MR_VertBitSet

nullptr here means whole mesh Returns a pointer to a member variable of class MR::MeshVertPart named region.

Calls MR_MeshVertPart_Get_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ region_mut()

auto meshlib::MeshVertPart::region_mut ( ) -> *mut *const meshlib::ffi::MR_VertBitSet

nullptr here means whole mesh Returns a mutable pointer to a member variable of class MR::MeshVertPart named region.

Calls MR_MeshVertPart_GetMutable_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ set_region()

void meshlib::MeshVertPart::set_region ( value:Option<&meshlib::VertBitSet > )

nullptr here means whole mesh Modifies a member variable of class MR::MeshVertPart named region.

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


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