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

Public Member Functions

void assign_from_another (other:&meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref)
auto has_value () const -> bool
void reset ()
auto call (_1:&meshlib::PointsProjectionResult, _2:&meshlib::Vector3f, _3:&mut meshlib::Ball3f) const -> meshlib::Processing
template<typename F>
void assign_fn (func:F)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref >
static auto construct_from_another (other:&meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref) -> meshlib::Owned< meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref >
template<typename F>
static auto from_fn (func:F) -> meshlib::Owned< meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref >
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::Processing(const MR::PointsProjectionResult &, const MR::Vector3f &, MR::Ball3f &). Possibly stateful.

Generated from class std::function<MR::Processing(const MR::PointsProjectionResult &, const MR::Vector3f &, MR::Ball3f &)>. Heap-allocated instances are held in Owned<std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref>.

Member Function Documentation

◆ assign_fn()

template<typename F>
void meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref::assign_fn ( func:F )

Replaces the stored callable with a Rust closure.

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_AssignEx().

F: Fn(&meshlib::PointsProjectionResult, &meshlib::Vector3f, &mut meshlib::Ball3f) -> meshlib::Processing + Send + Sync + 'static

◆ assign_from_another()

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

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

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

◆ call()

auto meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref::call ( _1:&meshlib::PointsProjectionResult ,
_2:&meshlib::Vector3f ,
_3:&mut meshlib::Ball3f  ) const -> meshlib::Processing

Calls the stored callable.

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_call().

◆ construct_from_another()

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

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

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

◆ from_fn()

template<typename F>
auto meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref::from_fn ( func:F ) -> meshlib::Owned< meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref >
static

Constructs an instance holding a Rust closure. The copies of the instance share the closure.

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_ConstructEx().

F: Fn(&meshlib::PointsProjectionResult, &meshlib::Vector3f, &mut meshlib::Ball3f) -> meshlib::Processing + Send + Sync + 'static

◆ has_value()

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

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

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_has_value().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_DefaultConstruct().

◆ reset()

void meshlib::std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref::reset ( )

Destroys the stored callable, making this instance null.

Calls MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref_reset().


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