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

Public Member Functions

auto first () const -> &usize
auto second () const -> &usize
auto second_mut () -> &mut usize

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_pair_const_size_t_size_t >
static auto construct_from_another (other:&meshlib::std_pair_const_size_t_size_t) -> meshlib::Owned< meshlib::std_pair_const_size_t_size_t >
static auto construct (first:usize, second:usize) -> meshlib::Owned< meshlib::std_pair_const_size_t_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 two objects: const size_t and const size_t.

Generated from class std::pair<const size_t, size_t>. Heap-allocated instances are held in Owned<std_pair_const_size_t_size_t>.

Member Function Documentation

◆ construct()

auto meshlib::std_pair_const_size_t_size_t::construct ( first:usize ,
second:usize  ) -> meshlib::Owned< meshlib::std_pair_const_size_t_size_t >
static

Constructs the pair elementwise.

Calls MR_std_pair_const_size_t_size_t_Construct(). The reference to the parameter first might be preserved in the constructed object. The reference to the parameter second might be preserved in the constructed object.

◆ construct_from_another()

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

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

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

◆ first()

auto meshlib::std_pair_const_size_t_size_t::first ( ) const -> &usize

The first of the two elements, read-only.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_const_size_t_size_t_DefaultConstruct().

◆ second()

auto meshlib::std_pair_const_size_t_size_t::second ( ) const -> &usize

The second of the two elements, read-only.

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

◆ second_mut()

auto meshlib::std_pair_const_size_t_size_t::second_mut ( ) -> &mut usize

The second of the two elements, mutable.

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


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