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

Public Member Functions

auto assign_from_another (_other:&meshlib::CoordinateConverters2) -> &mut meshlib::CoordinateConverters2
auto to_int () const -> &meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref
auto to_int_mut () -> &mut meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref
void set_to_int (value:&meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref)
auto to_float () const -> &meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref
auto to_float_mut () -> &mut meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref
void set_to_float (value:&meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CoordinateConverters2 >
static auto construct_from (toInt:&meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref, toFloat:&meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref) -> meshlib::Owned< meshlib::CoordinateConverters2 >
static auto construct_from_another (_other:&meshlib::CoordinateConverters2) -> meshlib::Owned< meshlib::CoordinateConverters2 >
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 struct contains coordinate converters float-int-float Generated from class MR::CoordinateConverters2.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

Constructs MR::CoordinateConverters2 elementwise.

Calls MR_CoordinateConverters2_ConstructFrom(). The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter toFloat might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CoordinateConverters2::CoordinateConverters2.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CoordinateConverters2_DefaultConstruct().

◆ set_to_float()

void meshlib::CoordinateConverters2::set_to_float ( value:&meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref )

Modifies a member variable of class MR::CoordinateConverters2 named toFloat.

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

◆ set_to_int()

void meshlib::CoordinateConverters2::set_to_int ( value:&meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref )

Modifies a member variable of class MR::CoordinateConverters2 named toInt.

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

◆ to_float()

auto meshlib::CoordinateConverters2::to_float ( ) const -> &meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref

Returns a pointer to a member variable of class MR::CoordinateConverters2 named toFloat.

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

◆ to_float_mut()

auto meshlib::CoordinateConverters2::to_float_mut ( ) -> &mut meshlib::std_function_MR_Vector2f_from_const_MR_Vector2i_ref

Returns a mutable pointer to a member variable of class MR::CoordinateConverters2 named toFloat.

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

◆ to_int()

auto meshlib::CoordinateConverters2::to_int ( ) const -> &meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref

Returns a pointer to a member variable of class MR::CoordinateConverters2 named toInt.

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

◆ to_int_mut()

auto meshlib::CoordinateConverters2::to_int_mut ( ) -> &mut meshlib::std_function_MR_Vector2i_from_const_MR_Vector2f_ref

Returns a mutable pointer to a member variable of class MR::CoordinateConverters2 named toInt.

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


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