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

Public Member Functions

auto assign_from_another (_other:&meshlib::CoordinateConverters) -> &mut meshlib::CoordinateConverters
auto to_int () const -> &meshlib::ConvertToIntVector
auto to_int_mut () -> &mut meshlib::ConvertToIntVector
void set_to_int (value:&meshlib::ConvertToIntVector)
auto to_float () const -> &meshlib::ConvertToFloatVector
auto to_float_mut () -> &mut meshlib::ConvertToFloatVector
void set_to_float (value:&meshlib::ConvertToFloatVector)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CoordinateConverters >
static auto construct_from (toInt:&meshlib::ConvertToIntVector, toFloat:&meshlib::ConvertToFloatVector) -> meshlib::Owned< meshlib::CoordinateConverters >
static auto construct_from_another (_other:&meshlib::CoordinateConverters) -> meshlib::Owned< meshlib::CoordinateConverters >
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::CoordinateConverters.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CoordinateConverters::construct_from ( toInt:&meshlib::ConvertToIntVector ,
toFloat:&meshlib::ConvertToFloatVector  ) -> meshlib::Owned< meshlib::CoordinateConverters >
static

Constructs MR::CoordinateConverters elementwise.

Calls MR_CoordinateConverters_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::CoordinateConverters::construct_from_another ( _other:&meshlib::CoordinateConverters ) -> meshlib::Owned< meshlib::CoordinateConverters >
static

Generated from constructor MR::CoordinateConverters::CoordinateConverters.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CoordinateConverters_DefaultConstruct().

◆ set_to_float()

void meshlib::CoordinateConverters::set_to_float ( value:&meshlib::ConvertToFloatVector )

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

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

◆ set_to_int()

void meshlib::CoordinateConverters::set_to_int ( value:&meshlib::ConvertToIntVector )

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

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

◆ to_float()

auto meshlib::CoordinateConverters::to_float ( ) const -> &meshlib::ConvertToFloatVector

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

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

◆ to_float_mut()

auto meshlib::CoordinateConverters::to_float_mut ( ) -> &mut meshlib::ConvertToFloatVector

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

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

◆ to_int()

auto meshlib::CoordinateConverters::to_int ( ) const -> &meshlib::ConvertToIntVector

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

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

◆ to_int_mut()

auto meshlib::CoordinateConverters::to_int_mut ( ) -> &mut meshlib::ConvertToIntVector

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

Calls MR_CoordinateConverters_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: