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

Public Member Functions

void assign_from_another (other:&meshlib::std_array_MR_PreciseVertCoords2_6)
auto at (i:usize) const -> &meshlib::PreciseVertCoords2
auto at_mut (i:usize) -> &mut meshlib::PreciseVertCoords2
auto data () const -> *const meshlib::ffi::MR_PreciseVertCoords2
auto data_mut () -> *mut meshlib::ffi::MR_PreciseVertCoords2

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_array_MR_PreciseVertCoords2_6 >
static auto construct_from_another (other:&meshlib::std_array_MR_PreciseVertCoords2_6) -> meshlib::Owned< meshlib::std_array_MR_PreciseVertCoords2_6 >
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

A fixed-size array of MR::PreciseVertCoords2 of size 6.

Generated from class std::array<MR::PreciseVertCoords2, 6>. Heap-allocated instances are held in Owned<std_array_MR_PreciseVertCoords2_6>.

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ at()

auto meshlib::std_array_MR_PreciseVertCoords2_6::at ( i:usize ) const -> &meshlib::PreciseVertCoords2

The element at a specific index, read-only.

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

◆ at_mut()

auto meshlib::std_array_MR_PreciseVertCoords2_6::at_mut ( i:usize ) -> &mut meshlib::PreciseVertCoords2

The element at a specific index, mutable.

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

◆ construct_from_another()

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

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

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

◆ data()

auto meshlib::std_array_MR_PreciseVertCoords2_6::data ( ) const -> *const meshlib::ffi::MR_PreciseVertCoords2

Returns a pointer to the continuous storage that holds all elements, read-only.

Calls MR_std_array_MR_PreciseVertCoords2_6_data(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ data_mut()

auto meshlib::std_array_MR_PreciseVertCoords2_6::data_mut ( ) -> *mut meshlib::ffi::MR_PreciseVertCoords2

Returns a pointer to the continuous storage that holds all elements, mutable.

Calls MR_std_array_MR_PreciseVertCoords2_6_data_mut(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_array_MR_PreciseVertCoords2_6_DefaultConstruct().


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