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

Public Member Functions

void assign_from_another (other:&meshlib::std_function_MR_MeshTriPoint_from_size_t)
auto has_value () const -> bool
void reset ()
auto call (_1:usize) const -> meshlib::Owned< meshlib::MeshTriPoint >

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_function_MR_MeshTriPoint_from_size_t >
static auto construct_from_another (other:&meshlib::std_function_MR_MeshTriPoint_from_size_t) -> meshlib::Owned< meshlib::std_function_MR_MeshTriPoint_from_size_t >
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::MeshTriPoint(size_t). Possibly stateful.

Generated from class std::function<MR::MeshTriPoint(size_t)>. Heap-allocated instances are held in Owned<std_function_MR_MeshTriPoint_from_size_t>.

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ call()

auto meshlib::std_function_MR_MeshTriPoint_from_size_t::call ( _1:usize ) const -> meshlib::Owned< meshlib::MeshTriPoint >

Calls the stored callable.

Calls MR_std_function_MR_MeshTriPoint_from_size_t_call().

◆ construct_from_another()

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

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

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

◆ has_value()

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

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

Calls MR_std_function_MR_MeshTriPoint_from_size_t_has_value().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_function_MR_MeshTriPoint_from_size_t_DefaultConstruct().

◆ reset()

void meshlib::std_function_MR_MeshTriPoint_from_size_t::reset ( )

Destroys the stored callable, making this instance null.

Calls MR_std_function_MR_MeshTriPoint_from_size_t_reset().


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