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

Public Member Functions

auto assign_from_another (_other:&meshlib::ObjectComparableWithReference_ComparisonReferenceValue) -> &mut meshlib::ObjectComparableWithReference_ComparisonReferenceValue
auto is_set () const -> &bool
auto is_set_mut () -> &mut bool
void set_is_set (value:bool)
auto var () const -> &meshlib::std_variant_float_MR_Vector3f
auto var_mut () -> &mut meshlib::std_variant_float_MR_Vector3f
void set_var (value:&meshlib::std_variant_float_MR_Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparisonReferenceValue >
static auto construct_from (isSet:bool, var:&meshlib::std_variant_float_MR_Vector3f) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparisonReferenceValue >
static auto construct_from_another (_other:&meshlib::ObjectComparableWithReference_ComparisonReferenceValue) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparisonReferenceValue >
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

This can't be std::optional<Var>, because we still need the variant to know the correct type. Generated from class MR::ObjectComparableWithReference::ComparisonReferenceValue.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::ObjectComparableWithReference::ComparisonReferenceValue::operator=.

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

◆ construct_from()

auto meshlib::ObjectComparableWithReference_ComparisonReferenceValue::construct_from ( isSet:bool ,
var:&meshlib::std_variant_float_MR_Vector3f  ) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparisonReferenceValue >
static

Constructs MR::ObjectComparableWithReference::ComparisonReferenceValue elementwise.

Calls MR_ObjectComparableWithReference_ComparisonReferenceValue_ConstructFrom(). The reference to the parameter var might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ObjectComparableWithReference::ComparisonReferenceValue::ComparisonReferenceValue.

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

◆ is_set()

auto meshlib::ObjectComparableWithReference_ComparisonReferenceValue::is_set ( ) const -> &bool

Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named isSet.

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

◆ is_set_mut()

auto meshlib::ObjectComparableWithReference_ComparisonReferenceValue::is_set_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named isSet.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ObjectComparableWithReference_ComparisonReferenceValue_DefaultConstruct().

◆ set_is_set()

void meshlib::ObjectComparableWithReference_ComparisonReferenceValue::set_is_set ( value:bool )

Modifies a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named isSet.

Calls MR_ObjectComparableWithReference_ComparisonReferenceValue_Set_isSet().

◆ set_var()

void meshlib::ObjectComparableWithReference_ComparisonReferenceValue::set_var ( value:&meshlib::std_variant_float_MR_Vector3f )

If isSet == false, this will hold zeroes, or some other default values. Modifies a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named var.

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

◆ var()

auto meshlib::ObjectComparableWithReference_ComparisonReferenceValue::var ( ) const -> &meshlib::std_variant_float_MR_Vector3f

If isSet == false, this will hold zeroes, or some other default values. Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named var.

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

◆ var_mut()

auto meshlib::ObjectComparableWithReference_ComparisonReferenceValue::var_mut ( ) -> &mut meshlib::std_variant_float_MR_Vector3f

If isSet == false, this will hold zeroes, or some other default values. Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparisonReferenceValue named var.

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


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