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

Public Member Functions

auto assign_from_another (_other:&meshlib::AnyVisualizeMaskEnum) -> &mut meshlib::AnyVisualizeMaskEnum
auto try_get () const -> meshlib::Owned< meshlib::std_optional_MR_DimensionsVisualizePropertyType >

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::AnyVisualizeMaskEnum) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static auto construct_mr_visualize_mask_type (value:meshlib::VisualizeMaskType) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static auto construct_mr_mesh_visualize_property_type (value:meshlib::MeshVisualizePropertyType) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static auto construct_mr_dimensions_visualize_property_type (value:meshlib::DimensionsVisualizePropertyType) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
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 a VisualizeMaskType or any other enum that extends it (i.e. which specializes IsVisualizeMaskEnum). To extract the value, do this: if ( auto value = x.tryGet<MyEnum>() ) { switch ( *value ) { case MyEnum::foo: ... case MyEnum::bar: ... } } else // forward to the parent class Generated from class MR::AnyVisualizeMaskEnum.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum.

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

◆ construct_mr_dimensions_visualize_property_type()

auto meshlib::AnyVisualizeMaskEnum::construct_mr_dimensions_visualize_property_type ( value:meshlib::DimensionsVisualizePropertyType ) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_DimensionsVisualizePropertyType(). The reference to the parameter value might be preserved in the constructed object.

◆ construct_mr_mesh_visualize_property_type()

auto meshlib::AnyVisualizeMaskEnum::construct_mr_mesh_visualize_property_type ( value:meshlib::MeshVisualizePropertyType ) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_MeshVisualizePropertyType(). The reference to the parameter value might be preserved in the constructed object.

◆ construct_mr_visualize_mask_type()

auto meshlib::AnyVisualizeMaskEnum::construct_mr_visualize_mask_type ( value:meshlib::VisualizeMaskType ) -> meshlib::Owned< meshlib::AnyVisualizeMaskEnum >
static

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_VisualizeMaskType(). The reference to the parameter value might be preserved in the constructed object.

◆ try_get()

auto meshlib::AnyVisualizeMaskEnum::try_get ( ) const -> meshlib::Owned< meshlib::std_optional_MR_DimensionsVisualizePropertyType >

Generated from method MR::AnyVisualizeMaskEnum::tryGet<MR::DimensionsVisualizePropertyType>.

Calls MR_AnyVisualizeMaskEnum_tryGet().


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