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

Public Member Functions

auto assign_from_another (_other:&meshlib::features::SubfeatureInfo) -> &mut meshlib::features::SubfeatureInfo
auto name () const -> &meshlib::std_string_view
auto name_mut () -> &mut meshlib::std_string_view
void set_name (value:&str)
auto is_infinite () const -> &bool
auto is_infinite_mut () -> &mut bool
void set_is_infinite (value:bool)
auto create () const -> &meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref
auto create_mut () -> &mut meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref
void set_create (value:&meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::features::SubfeatureInfo >
static auto construct_from (name:&str, isInfinite:bool, create:&meshlib::std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_from_const_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ref) -> meshlib::Owned< meshlib::features::SubfeatureInfo >
static auto construct_from_another (_other:&meshlib::features::SubfeatureInfo) -> meshlib::Owned< meshlib::features::SubfeatureInfo >
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

Describes a single feature produced by forEachSubfeature(). Generated from class MR::Features::SubfeatureInfo.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::features::SubfeatureInfo::assign_from_another ( _other:&meshlib::features::SubfeatureInfo ) -> &mut meshlib::features::SubfeatureInfo

Generated from method MR::Features::SubfeatureInfo::operator=.

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

◆ construct_from()

Constructs MR::Features::SubfeatureInfo elementwise.

Calls MR_Features_SubfeatureInfo_ConstructFrom(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter create might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Features::SubfeatureInfo::SubfeatureInfo.

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

◆ create()

Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named create.

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

◆ create_mut()

Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named create.

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

◆ is_infinite()

auto meshlib::features::SubfeatureInfo::is_infinite ( ) const -> &bool

Whether the feature has infinite length. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite.

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

◆ is_infinite_mut()

auto meshlib::features::SubfeatureInfo::is_infinite_mut ( ) -> &mut bool

Whether the feature has infinite length. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite.

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

◆ name()

auto meshlib::features::SubfeatureInfo::name ( ) const -> &meshlib::std_string_view

A user-friendly name. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named name.

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

◆ name_mut()

auto meshlib::features::SubfeatureInfo::name_mut ( ) -> &mut meshlib::std_string_view

A user-friendly name. Returns a mutable pointer to a member variable of class MR::Features::SubfeatureInfo named name.

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

◆ new()

auto meshlib::features::SubfeatureInfo::new ( ) -> meshlib::Owned< meshlib::features::SubfeatureInfo >
static

Constructs an empty (default-constructed) instance.

Calls MR_Features_SubfeatureInfo_DefaultConstruct().

◆ set_create()

Call this to create this subfeature. Pass the same feature you passed to forEachSubfeature(), or a DIFFERENT one to create the same kind of subfeature relative to that. Modifies a member variable of class MR::Features::SubfeatureInfo named create.

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

◆ set_is_infinite()

void meshlib::features::SubfeatureInfo::set_is_infinite ( value:bool )

Whether the feature has infinite length. Modifies a member variable of class MR::Features::SubfeatureInfo named isInfinite.

Calls MR_Features_SubfeatureInfo_Set_isInfinite().

◆ set_name()

void meshlib::features::SubfeatureInfo::set_name ( value:& str)

A user-friendly name. Modifies a member variable of class MR::Features::SubfeatureInfo named name.

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


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