Public Member Functions | |
| void | assign_from_another (other:&meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool) |
| auto | has_value () const -> bool |
| void | reset () |
| auto | call (_1:&meshlib::MeshIntersectionResult, _2:bool) const -> bool |
| template<typename F> | |
| void | assign_fn (func:F) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool > |
| static auto | construct_from_another (other:&meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool) -> meshlib::Owned< meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool > |
| template<typename F> | |
| static auto | from_fn (func:F) -> meshlib::Owned< meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool > |
| 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 |
Stores a functor of type: bool(const MR::MeshIntersectionResult &, bool). Possibly stateful.
Generated from class std::function<bool(const MR::MeshIntersectionResult &, bool)>. Heap-allocated instances are held in Owned<std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool>.
| void meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool::assign_fn | ( | func:F | ) |
Replaces the stored callable with a Rust closure.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_AssignEx().
F: Fn(&meshlib::MeshIntersectionResult, bool) -> bool + Send + Sync + 'static
| void meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool::assign_from_another | ( | other:&meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
| auto meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool::call | ( | _1:&meshlib::MeshIntersectionResult | , |
| _2:bool | ) const -> bool |
Calls the stored callable.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_call().
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
|
static |
Constructs an instance holding a Rust closure. The copies of the instance share the closure.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_ConstructEx().
F: Fn(&meshlib::MeshIntersectionResult, bool) -> bool + Send + Sync + 'static
| auto meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool::has_value | ( | ) | const -> bool |
Returns true if this instance stores a callable, as opposed to being null.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_has_value().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_DefaultConstruct().
| void meshlib::std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool::reset | ( | ) |
Destroys the stored callable, making this instance null.
Calls MR_std_function_bool_from_const_MR_MeshIntersectionResult_ref_bool_reset().