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

Public Member Functions

auto first () const -> &core::ffi::c_int
auto second () const -> &meshlib::Box3i
auto second_mut () -> &mut meshlib::Box3i

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_pair_const_int_MR_Box3i >
static auto construct_from_another (other:&meshlib::std_pair_const_int_MR_Box3i) -> meshlib::Owned< meshlib::std_pair_const_int_MR_Box3i >
static auto construct (first:core::ffi::c_int, second:meshlib::Box3i) -> meshlib::Owned< meshlib::std_pair_const_int_MR_Box3i >
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 int and const int.

Generated from class std::pair<const int, MR::Box3i>. Heap-allocated instances are held in Owned<std_pair_const_int_MR_Box3i>.

Member Function Documentation

◆ construct()

auto meshlib::std_pair_const_int_MR_Box3i::construct ( first:core::ffi::c_int ,
second:meshlib::Box3i  ) -> meshlib::Owned< meshlib::std_pair_const_int_MR_Box3i >
static

Constructs the pair elementwise.

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

◆ construct_from_another()

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

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

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

◆ first()

auto meshlib::std_pair_const_int_MR_Box3i::first ( ) const -> &core::ffi::c_int

The first of the two elements, read-only.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_const_int_MR_Box3i_DefaultConstruct().

◆ second()

auto meshlib::std_pair_const_int_MR_Box3i::second ( ) const -> &meshlib::Box3i

The second of the two elements, read-only.

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

◆ second_mut()

auto meshlib::std_pair_const_int_MR_Box3i::second_mut ( ) -> &mut meshlib::Box3i

The second of the two elements, mutable.

Calls MR_std_pair_const_int_MR_Box3i_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: