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

Public Member Functions

void assign_from_another (other:&meshlib::std_pair_MR_Vector3d_MR_Vector3d)
auto first () const -> &meshlib::Vector3d
auto first_mut () -> &mut meshlib::Vector3d
auto second () const -> &meshlib::Vector3d
auto second_mut () -> &mut meshlib::Vector3d

Static Public Member Functions

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

Generated from class std::pair<MR::Vector3d, MR::Vector3d>. Heap-allocated instances are held in Owned<std_pair_MR_Vector3d_MR_Vector3d>.

Member Function Documentation

◆ assign_from_another()

void meshlib::std_pair_MR_Vector3d_MR_Vector3d::assign_from_another ( other:&meshlib::std_pair_MR_Vector3d_MR_Vector3d )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_pair_MR_Vector3d_MR_Vector3d_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ construct()

auto meshlib::std_pair_MR_Vector3d_MR_Vector3d::construct ( first:meshlib::Vector3d ,
second:meshlib::Vector3d  ) -> meshlib::Owned< meshlib::std_pair_MR_Vector3d_MR_Vector3d >
static

Constructs the pair elementwise.

Calls MR_std_pair_MR_Vector3d_MR_Vector3d_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_MR_Vector3d_MR_Vector3d::construct_from_another ( other:&meshlib::std_pair_MR_Vector3d_MR_Vector3d ) -> meshlib::Owned< meshlib::std_pair_MR_Vector3d_MR_Vector3d >
static

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

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

◆ first()

auto meshlib::std_pair_MR_Vector3d_MR_Vector3d::first ( ) const -> &meshlib::Vector3d

The first of the two elements, read-only.

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

◆ first_mut()

auto meshlib::std_pair_MR_Vector3d_MR_Vector3d::first_mut ( ) -> &mut meshlib::Vector3d

The first of the two elements, mutable.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_pair_MR_Vector3d_MR_Vector3d_DefaultConstruct().

◆ second()

auto meshlib::std_pair_MR_Vector3d_MR_Vector3d::second ( ) const -> &meshlib::Vector3d

The second of the two elements, read-only.

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

◆ second_mut()

auto meshlib::std_pair_MR_Vector3d_MR_Vector3d::second_mut ( ) -> &mut meshlib::Vector3d

The second of the two elements, mutable.

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