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

Public Member Functions

auto assign_from_another (other:&meshlib::MeshPart) -> &mut meshlib::MeshPart
auto mesh () const -> &meshlib::Mesh
auto region () const -> *const *const meshlib::ffi::MR_FaceBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet
void set_region (value:Option<&meshlib::FaceBitSet >)

Static Public Member Functions

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

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

Member Function Documentation

◆ assign_from_another()

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

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

Calls MR_MeshPart_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::MeshPart::construct ( m:&meshlib::Mesh ,
bs:Option<&meshlib::FaceBitSet >  ) -> meshlib::Owned< meshlib::MeshPart >
static

Generated from constructor MR::MeshPart::MeshPart.

Calls MR_MeshPart_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::MeshPart::construct_from_another ( other:&meshlib::MeshPart ) -> meshlib::Owned< meshlib::MeshPart >
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::MeshPart::MeshPart.

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

◆ mesh()

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

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

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

◆ region()

auto meshlib::MeshPart::region ( ) const -> *const *const meshlib::ffi::MR_FaceBitSet

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

Calls MR_MeshPart_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::MeshPart::region_mut ( ) -> *mut *const meshlib::ffi::MR_FaceBitSet

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

Calls MR_MeshPart_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::MeshPart::set_region ( value:Option<&meshlib::FaceBitSet > )

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

Calls MR_MeshPart_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: