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

Public Member Functions

void assign_from_another (other:&meshlib::std_function_MR_CurvePoint_from_float)
auto has_value () const -> bool
void reset ()
auto call (_1:f32) const -> meshlib::Owned< meshlib::CurvePoint >

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_function_MR_CurvePoint_from_float >
static auto construct_from_another (other:&meshlib::std_function_MR_CurvePoint_from_float) -> meshlib::Owned< meshlib::std_function_MR_CurvePoint_from_float >
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

Stores a functor of type: MR::CurvePoint(float). Possibly stateful.

Generated from class std::function<MR::CurvePoint(float)>. Heap-allocated instances are held in Owned<std_function_MR_CurvePoint_from_float>.

Member Function Documentation

◆ assign_from_another()

void meshlib::std_function_MR_CurvePoint_from_float::assign_from_another ( other:&meshlib::std_function_MR_CurvePoint_from_float )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_function_MR_CurvePoint_from_float_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ call()

auto meshlib::std_function_MR_CurvePoint_from_float::call ( _1:f32 ) const -> meshlib::Owned< meshlib::CurvePoint >

Calls the stored callable.

Calls MR_std_function_MR_CurvePoint_from_float_call().

◆ construct_from_another()

auto meshlib::std_function_MR_CurvePoint_from_float::construct_from_another ( other:&meshlib::std_function_MR_CurvePoint_from_float ) -> meshlib::Owned< meshlib::std_function_MR_CurvePoint_from_float >
static

Constructs a copy of another instance. The source remains alive.

Calls MR_std_function_MR_CurvePoint_from_float_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.

◆ has_value()

auto meshlib::std_function_MR_CurvePoint_from_float::has_value ( ) const -> bool

Returns true if this instance stores a callable, as opposed to being null.

Calls MR_std_function_MR_CurvePoint_from_float_has_value().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_function_MR_CurvePoint_from_float_DefaultConstruct().

◆ reset()

void meshlib::std_function_MR_CurvePoint_from_float::reset ( )

Destroys the stored callable, making this instance null.

Calls MR_std_function_MR_CurvePoint_from_float_reset().


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