MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::CurveFunc:

Public Member Functions

auto assign_from_another (_other:&meshlib::CurveFunc) -> &mut meshlib::CurveFunc
auto func () const -> &meshlib::std_function_MR_CurvePoint_from_float
auto func_mut () -> &mut meshlib::std_function_MR_CurvePoint_from_float
void set_func (value:&meshlib::std_function_MR_CurvePoint_from_float)
auto total_length () const -> &f32
auto total_length_mut () -> &mut f32
void set_total_length (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CurveFunc >
static auto construct_from (func:&meshlib::std_function_MR_CurvePoint_from_float, totalLength:f32) -> meshlib::Owned< meshlib::CurveFunc >
static auto construct_from_another (_other:&meshlib::CurveFunc) -> meshlib::Owned< meshlib::CurveFunc >
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::CurveFunc.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CurveFunc::construct_from ( func:&meshlib::std_function_MR_CurvePoint_from_float ,
totalLength:f32  ) -> meshlib::Owned< meshlib::CurveFunc >
static

Constructs MR::CurveFunc elementwise.

Calls MR_CurveFunc_ConstructFrom(). The reference to the parameter func might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CurveFunc::CurveFunc.

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

◆ func()

auto meshlib::CurveFunc::func ( ) const -> &meshlib::std_function_MR_CurvePoint_from_float

curve given as a function: position along curve -> point Returns a pointer to a member variable of class MR::CurveFunc named func.

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

◆ func_mut()

auto meshlib::CurveFunc::func_mut ( ) -> &mut meshlib::std_function_MR_CurvePoint_from_float

curve given as a function: position along curve -> point Returns a mutable pointer to a member variable of class MR::CurveFunc named func.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CurveFunc_DefaultConstruct().

◆ set_func()

void meshlib::CurveFunc::set_func ( value:&meshlib::std_function_MR_CurvePoint_from_float )

curve given as a function: position along curve -> point Modifies a member variable of class MR::CurveFunc named func.

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

◆ set_total_length()

void meshlib::CurveFunc::set_total_length ( value:f32 )

total length of the given curve Modifies a member variable of class MR::CurveFunc named totalLength.

Calls MR_CurveFunc_Set_totalLength().

◆ total_length()

auto meshlib::CurveFunc::total_length ( ) const -> &f32

total length of the given curve Returns a pointer to a member variable of class MR::CurveFunc named totalLength.

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

◆ total_length_mut()

auto meshlib::CurveFunc::total_length_mut ( ) -> &mut f32

total length of the given curve Returns a mutable pointer to a member variable of class MR::CurveFunc named totalLength.

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


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