Public Member Functions | |
| void | assign_from_another (other:Option<&meshlib::std_optional_MR_VertCoords2 >) |
| void | assign_from (other:Option<&meshlib::VertCoords2 >) |
| auto | has_value () const -> bool |
| auto | value () const -> Option<&meshlib::VertCoords2 > |
| auto | value_mut () -> Option<&mut meshlib::VertCoords2 > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::std_optional_MR_VertCoords2 > |
| static auto | construct_from_another (other:Option<&meshlib::std_optional_MR_VertCoords2 >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords2 > |
| static auto | construct_from (other:Option<&meshlib::VertCoords2 >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords2 > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
Stores either a single MR::VertCoords2 or nothing.
Generated from class std::optional<MR::VertCoords2>. Heap-allocated instances are held in Owned<std_optional_MR_VertCoords2>.
| void meshlib::std_optional_MR_VertCoords2::assign_from | ( | other:Option<&meshlib::VertCoords2 > | ) |
Assigns the contents.
Calls MR_std_optional_MR_VertCoords2_AssignFrom().
| void meshlib::std_optional_MR_VertCoords2::assign_from_another | ( | other:Option<&meshlib::std_optional_MR_VertCoords2 > | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_optional_MR_VertCoords2_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
|
static |
Constructs a new instance.
Calls MR_std_optional_MR_VertCoords2_ConstructFrom().
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_optional_MR_VertCoords2_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
| auto meshlib::std_optional_MR_VertCoords2::has_value | ( | ) | const -> bool |
Returns true if this instance stores an object, as opposed to being empty.
Calls MR_std_optional_MR_VertCoords2_has_value().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_optional_MR_VertCoords2_DefaultConstruct().
| auto meshlib::std_optional_MR_VertCoords2::value | ( | ) | const -> Option<&meshlib::VertCoords2 > |
The stored element or null if none, read-only.
Calls MR_std_optional_MR_VertCoords2_value(). The reference to this object might be preserved as the return value.
| auto meshlib::std_optional_MR_VertCoords2::value_mut | ( | ) | -> Option<&mut meshlib::VertCoords2 > |
The stored element or null if none, mutable.
Calls MR_std_optional_MR_VertCoords2_value_mut(). The reference to this object might be preserved as the return value.