Public Member Functions | |
| void | assign_from_another (other:&meshlib::std_vector_std_array_MR_VertId_3) |
| 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::std_array_MR_VertId_3 |
| auto | at_mut (i:usize) -> &mut meshlib::std_array_MR_VertId_3 |
| auto | front () const -> Option<&meshlib::std_array_MR_VertId_3 > |
| auto | front_mut () -> Option<&mut meshlib::std_array_MR_VertId_3 > |
| auto | back () const -> Option<&meshlib::std_array_MR_VertId_3 > |
| auto | back_mut () -> Option<&mut meshlib::std_array_MR_VertId_3 > |
| auto | data () const -> *const meshlib::std_array_MR_VertId_3 |
| auto | data_mut () -> *mut meshlib::std_array_MR_VertId_3 |
| void | push_back (new_elem:meshlib::std_array_MR_VertId_3) |
| void | pop_back () |
| void | insert (position:usize, new_elem:meshlib::std_array_MR_VertId_3) |
| void | erase (position:usize) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::std_vector_std_array_MR_VertId_3 > |
| static auto | construct_from_another (other:&meshlib::std_vector_std_array_MR_VertId_3) -> meshlib::Owned< meshlib::std_vector_std_array_MR_VertId_3 > |
| 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 |
Generated from C++ container std::vector<std::array<MR::VertId, 3>>.
Generated from class std::vector<std::array<MR::VertId, 3>>. Heap-allocated instances are held in Owned<std_vector_std_array_MR_VertId_3>.
| void meshlib::std_vector_std_array_MR_VertId_3::assign_from_another | ( | other:&meshlib::std_vector_std_array_MR_VertId_3 | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_vector_std_array_MR_VertId_3_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
| auto meshlib::std_vector_std_array_MR_VertId_3::at | ( | i:usize | ) | const -> &meshlib::std_array_MR_VertId_3 |
The element at a specific index, read-only.
Calls MR_std_vector_std_array_MR_VertId_3_at(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_std_array_MR_VertId_3::at_mut | ( | i:usize | ) | -> &mut meshlib::std_array_MR_VertId_3 |
The element at a specific index, mutable.
Calls MR_std_vector_std_array_MR_VertId_3_at_mut(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_std_array_MR_VertId_3::back | ( | ) | const -> Option<&meshlib::std_array_MR_VertId_3 > |
The last element or null if empty, read-only.
Calls MR_std_vector_std_array_MR_VertId_3_back(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_std_array_MR_VertId_3::back_mut | ( | ) | -> Option<&mut meshlib::std_array_MR_VertId_3 > |
The last element or null if empty, mutable.
Calls MR_std_vector_std_array_MR_VertId_3_back_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_std_array_MR_VertId_3::clear | ( | ) |
Removes all elements from the container.
Calls MR_std_vector_std_array_MR_VertId_3_clear().
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_vector_std_array_MR_VertId_3_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
| auto meshlib::std_vector_std_array_MR_VertId_3::data | ( | ) | const -> *const meshlib::std_array_MR_VertId_3 |
Returns a pointer to the continuous storage that holds all elements, read-only.
Calls MR_std_vector_std_array_MR_VertId_3_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.
| auto meshlib::std_vector_std_array_MR_VertId_3::data_mut | ( | ) | -> *mut meshlib::std_array_MR_VertId_3 |
Returns a pointer to the continuous storage that holds all elements, mutable.
Calls MR_std_vector_std_array_MR_VertId_3_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.
| auto meshlib::std_vector_std_array_MR_VertId_3::empty | ( | ) | const -> bool |
Returns true if the size is zero.
Calls MR_std_vector_std_array_MR_VertId_3_empty().
| void meshlib::std_vector_std_array_MR_VertId_3::erase | ( | position:usize | ) |
Erases the element at the specified position.
Calls MR_std_vector_std_array_MR_VertId_3_erase().
| auto meshlib::std_vector_std_array_MR_VertId_3::front | ( | ) | const -> Option<&meshlib::std_array_MR_VertId_3 > |
The first element or null if empty, read-only.
Calls MR_std_vector_std_array_MR_VertId_3_front(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_std_array_MR_VertId_3::front_mut | ( | ) | -> Option<&mut meshlib::std_array_MR_VertId_3 > |
The first element or null if empty, mutable.
Calls MR_std_vector_std_array_MR_VertId_3_front_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_std_array_MR_VertId_3::insert | ( | position:usize | , |
| new_elem:meshlib::std_array_MR_VertId_3 | ) |
Inserts a new element right before the specified position.
Calls MR_std_vector_std_array_MR_VertId_3_insert(). The reference to the parameter new_elem might be preserved in this object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_vector_std_array_MR_VertId_3_DefaultConstruct().
| void meshlib::std_vector_std_array_MR_VertId_3::pop_back | ( | ) |
Removes one element from the end.
Calls MR_std_vector_std_array_MR_VertId_3_pop_back().
| void meshlib::std_vector_std_array_MR_VertId_3::push_back | ( | new_elem:meshlib::std_array_MR_VertId_3 | ) |
Inserts a new element at the end.
Calls MR_std_vector_std_array_MR_VertId_3_push_back(). The reference to the parameter new_elem might be preserved in this object.
| void meshlib::std_vector_std_array_MR_VertId_3::reserve | ( | new_capacity:usize | ) |
Reserves memory for a certain number of elements. Never shrinks the memory.
Calls MR_std_vector_std_array_MR_VertId_3_reserve().
| void meshlib::std_vector_std_array_MR_VertId_3::resize | ( | new_size:usize | ) |
Resizes the container. The new elements if any are zeroed.
Calls MR_std_vector_std_array_MR_VertId_3_resize().
| auto meshlib::std_vector_std_array_MR_VertId_3::size | ( | ) | const -> usize |
The number of elements.
Calls MR_std_vector_std_array_MR_VertId_3_size().