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

Public Member Functions

auto assign_from_another (z:meshlib::Owned< meshlib::ZeroOnMove_size_t >) -> &mut meshlib::ZeroOnMove_size_t
auto val () const -> &usize
auto val_mut () -> &mut usize
void set_val (value:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ZeroOnMove_size_t >
static auto construct_from_another (z:meshlib::Owned< meshlib::ZeroOnMove_size_t >) -> meshlib::Owned< meshlib::ZeroOnMove_size_t >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

Generated from class MR::ZeroOnMove<size_t>.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::ZeroOnMove_size_t::assign_from_another ( z:meshlib::Owned< meshlib::ZeroOnMove_size_t > ) -> &mut meshlib::ZeroOnMove_size_t

Generated from method MR::ZeroOnMove<size_t>::operator=.

Calls MR_ZeroOnMove_size_t_AssignFromAnother(). The reference to things referred to by the parameter z (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

◆ construct_from_another()

auto meshlib::ZeroOnMove_size_t::construct_from_another ( z:meshlib::Owned< meshlib::ZeroOnMove_size_t > ) -> meshlib::Owned< meshlib::ZeroOnMove_size_t >
static

Generated from constructor MR::ZeroOnMove<size_t>::ZeroOnMove.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ZeroOnMove_size_t_DefaultConstruct().

◆ set_val()

void meshlib::ZeroOnMove_size_t::set_val ( value:usize )

Modifies a member variable of class MR::ZeroOnMove<size_t> named val.

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

◆ val()

auto meshlib::ZeroOnMove_size_t::val ( ) const -> &usize

Returns a pointer to a member variable of class MR::ZeroOnMove<size_t> named val.

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

◆ val_mut()

auto meshlib::ZeroOnMove_size_t::val_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::ZeroOnMove<size_t> named val.

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


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