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

Public Member Functions

void assign_from_another (other:&meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane)
void assign_from (other:Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >)
auto has_value () const -> bool
auto value () const -> Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
auto value_mut () -> Option<&mut meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
static auto construct_from_another (other:&meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane) -> meshlib::Owned< meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
static auto construct_from (other:Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >) -> meshlib::Owned< meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
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 either a single std::variant<MR::Sphere3f, MR::Features::Primitives::ConeSegment, MR::Features::Primitives::Plane> or nothing.

Generated from class std::optional<std::variant<MR::Sphere3f, MR::Features::Primitives::ConeSegment, MR::Features::Primitives::Plane>>. Heap-allocated instances are held in Owned<std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane>.

Member Function Documentation

◆ assign_from()

void meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::assign_from ( other:Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane > )

Assigns the contents.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_AssignFrom().

◆ assign_from_another()

void meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::assign_from_another ( other:&meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ construct_from()

auto meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::construct_from ( other:Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane > ) -> meshlib::Owned< meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
static

Constructs a new instance.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ConstructFrom().

◆ construct_from_another()

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

Constructs a copy of another instance. The source remains alive.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.

◆ has_value()

auto meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::has_value ( ) const -> bool

Returns true if this instance stores an object, as opposed to being empty.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_has_value().

◆ new()

auto meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::new ( ) -> meshlib::Owned< meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >
static

Constructs an empty (default-constructed) instance.

Calls MR_std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane_DefaultConstruct().

◆ value()

auto meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::value ( ) const -> Option<&meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >

The stored element or null if none, read-only.

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

◆ value_mut()

auto meshlib::std_optional_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane::value_mut ( ) -> Option<&mut meshlib::std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane >

The stored element or null if none, mutable.

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


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