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

Public Member Functions

auto assign_from_another (_other:&meshlib::ObjectComparableWithReference_ComparableProperty) -> &mut meshlib::ObjectComparableWithReference_ComparableProperty
auto value () const -> &f32
auto value_mut () -> &mut f32
void set_value (value:f32)
auto reference_value () const -> &meshlib::std_optional_float
auto reference_value_mut () -> &mut meshlib::std_optional_float
void set_reference_value (value:Option< f32 >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty >
static auto construct_from (value:f32, referenceValue:Option< f32 >) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty >
static auto construct_from_another (_other:&meshlib::ObjectComparableWithReference_ComparableProperty) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty >
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

Generated from class MR::ObjectComparableWithReference::ComparableProperty.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::ObjectComparableWithReference_ComparableProperty::construct_from ( value:f32 ,
referenceValue:Option< f32 >  ) -> meshlib::Owned< meshlib::ObjectComparableWithReference_ComparableProperty >
static

Constructs MR::ObjectComparableWithReference::ComparableProperty elementwise.

Calls MR_ObjectComparableWithReference_ComparableProperty_ConstructFrom(). The reference to the parameter referenceValue might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ObjectComparableWithReference::ComparableProperty::ComparableProperty.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ObjectComparableWithReference_ComparableProperty_DefaultConstruct().

◆ reference_value()

auto meshlib::ObjectComparableWithReference_ComparableProperty::reference_value ( ) const -> &meshlib::std_optional_float

This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.

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

◆ reference_value_mut()

auto meshlib::ObjectComparableWithReference_ComparableProperty::reference_value_mut ( ) -> &mut meshlib::std_optional_float

This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.

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

◆ set_reference_value()

void meshlib::ObjectComparableWithReference_ComparableProperty::set_reference_value ( value:Option< f32 > )

This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue.

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

◆ set_value()

void meshlib::ObjectComparableWithReference_ComparableProperty::set_value ( value:f32 )

Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.

Calls MR_ObjectComparableWithReference_ComparableProperty_Set_value().

◆ value()

auto meshlib::ObjectComparableWithReference_ComparableProperty::value ( ) const -> &f32

Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.

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

◆ value_mut()

auto meshlib::ObjectComparableWithReference_ComparableProperty::value_mut ( ) -> &mut f32

Returns a mutable pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.

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


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