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

Public Member Functions

void assign_from_another (other:&meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData)
auto size () const -> usize
auto empty () const -> bool
void resize (new_size:usize)
void clear ()
void reserve (new_capacity:usize)
auto at (i:usize) const -> &meshlib::ModelPointsData
auto at_mut (i:usize) -> &mut meshlib::ModelPointsData
auto front () const -> Option<&meshlib::ModelPointsData >
auto front_mut () -> Option<&mut meshlib::ModelPointsData >
auto back () const -> Option<&meshlib::ModelPointsData >
auto back_mut () -> Option<&mut meshlib::ModelPointsData >
void push_back (new_elem:&meshlib::ModelPointsData)
void pop_back ()
void insert (position:usize, new_elem:&meshlib::ModelPointsData)
void erase (position:usize)

Static Public Member Functions

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

Generated from C++ container std::vector<MR::ModelPointsData, MR::Allocator<MR::ModelPointsData>>.

Generated from class std::vector<MR::ModelPointsData, MR::Allocator<MR::ModelPointsData>>. Heap-allocated instances are held in Owned<std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData>.

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ at()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::at ( i:usize ) const -> &meshlib::ModelPointsData

The element at a specific index, read-only.

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

◆ at_mut()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::at_mut ( i:usize ) -> &mut meshlib::ModelPointsData

The element at a specific index, mutable.

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

◆ back()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::back ( ) const -> Option<&meshlib::ModelPointsData >

The last element or null if empty, read-only.

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

◆ back_mut()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::back_mut ( ) -> Option<&mut meshlib::ModelPointsData >

The last element or null if empty, mutable.

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

◆ clear()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::clear ( )

Removes all elements from the container.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_clear().

◆ construct_from_another()

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

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

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

◆ empty()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::empty ( ) const -> bool

Returns true if the size is zero.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_empty().

◆ erase()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::erase ( position:usize )

Erases the element at the specified position.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_erase().

◆ front()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::front ( ) const -> Option<&meshlib::ModelPointsData >

The first element or null if empty, read-only.

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

◆ front_mut()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::front_mut ( ) -> Option<&mut meshlib::ModelPointsData >

The first element or null if empty, mutable.

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

◆ insert()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::insert ( position:usize ,
new_elem:&meshlib::ModelPointsData  )

Inserts a new element right before the specified position.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_insert(). The reference to the parameter new_elem might be preserved in this object.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_DefaultConstruct().

◆ pop_back()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::pop_back ( )

Removes one element from the end.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_pop_back().

◆ push_back()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::push_back ( new_elem:&meshlib::ModelPointsData )

Inserts a new element at the end.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_push_back(). The reference to the parameter new_elem might be preserved in this object.

◆ reserve()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::reserve ( new_capacity:usize )

Reserves memory for a certain number of elements. Never shrinks the memory.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_reserve().

◆ resize()

void meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::resize ( new_size:usize )

Resizes the container. The new elements if any are zeroed.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_resize().

◆ size()

auto meshlib::std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData::size ( ) const -> usize

The number of elements.

Calls MR_std_vector_MR_ModelPointsData_MR_Allocator_MR_ModelPointsData_size().


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