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

Public Member Functions

auto first () const -> &meshlib::ObjId
auto second () const -> &meshlib::ObjId
auto second_mut () -> &mut meshlib::ObjId

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_pair_const_MR_ObjId_MR_ObjId >
static auto construct_from_another (other:&meshlib::std_pair_const_MR_ObjId_MR_ObjId) -> meshlib::Owned< meshlib::std_pair_const_MR_ObjId_MR_ObjId >
static auto construct (first:meshlib::ObjId, second:meshlib::ObjId) -> meshlib::Owned< meshlib::std_pair_const_MR_ObjId_MR_ObjId >
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 MR::ObjId and const MR::ObjId.

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

Member Function Documentation

◆ construct()

auto meshlib::std_pair_const_MR_ObjId_MR_ObjId::construct ( first:meshlib::ObjId ,
second:meshlib::ObjId  ) -> meshlib::Owned< meshlib::std_pair_const_MR_ObjId_MR_ObjId >
static

Constructs the pair elementwise.

Calls MR_std_pair_const_MR_ObjId_MR_ObjId_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_MR_ObjId_MR_ObjId::construct_from_another ( other:&meshlib::std_pair_const_MR_ObjId_MR_ObjId ) -> meshlib::Owned< meshlib::std_pair_const_MR_ObjId_MR_ObjId >
static

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

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

◆ first()

auto meshlib::std_pair_const_MR_ObjId_MR_ObjId::first ( ) const -> &meshlib::ObjId

The first of the two elements, read-only.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_const_MR_ObjId_MR_ObjId_DefaultConstruct().

◆ second()

auto meshlib::std_pair_const_MR_ObjId_MR_ObjId::second ( ) const -> &meshlib::ObjId

The second of the two elements, read-only.

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

◆ second_mut()

auto meshlib::std_pair_const_MR_ObjId_MR_ObjId::second_mut ( ) -> &mut meshlib::ObjId

The second of the two elements, mutable.

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