Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Vector_std_array_MR_VertId_2 > |
| static auto | construct_from_another (_other:&meshlib::Vector_std_array_MR_VertId_2) -> meshlib::Owned< meshlib::Vector_std_array_MR_VertId_2 > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Vector_std_array_MR_VertId_2 > |
| static auto | construct_fill (size:usize, val:&meshlib::std_array_MR_VertId_2) -> meshlib::Owned< meshlib::Vector_std_array_MR_VertId_2 > |
| 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 |
Vector<T> is indexed by size_t Generated from class MR::Vector<std::array<MR::VertId, 2>>.
Generated from class MR::Vector<std::array<MR::VertId, 2>>. Heap-allocated instances are held in Owned<Vector_std_array_MR_VertId_2>.
| void meshlib::Vector_std_array_MR_VertId_2::assign | ( | count:usize | , |
| val:&meshlib::std_array_MR_VertId_2 | ) |
replaces the contents with count copies of val Generated from method MR::Vector<std::array<MR::VertId, 2>>::assign.
Calls MR_Vector_std_array_MR_VertId_2_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::Vector_std_array_MR_VertId_2::assign_from_another | ( | _other:&meshlib::Vector_std_array_MR_VertId_2 | ) | -> &mut meshlib::Vector_std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::operator=.
Calls MR_Vector_std_array_MR_VertId_2_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Vector_std_array_MR_VertId_2::auto_resize_at | ( | i:usize | ) | -> &mut meshlib::std_array_MR_VertId_2 |
this accessor automatically adjusts the size of the vector Generated from method MR::Vector<std::array<MR::VertId, 2>>::autoResizeAt.
Calls MR_Vector_std_array_MR_VertId_2_autoResizeAt().
| void meshlib::Vector_std_array_MR_VertId_2::auto_resize_set_2 | ( | i:usize | , |
| val:meshlib::std_array_MR_VertId_2 | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<std::array<MR::VertId, 2>>::autoResizeSet.
Calls MR_Vector_std_array_MR_VertId_2_autoResizeSet_2().
| void meshlib::Vector_std_array_MR_VertId_2::auto_resize_set_3 | ( | pos:usize | , |
| len:usize | , | ||
| val:meshlib::std_array_MR_VertId_2 | ) |
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::Vector<std::array<MR::VertId, 2>>::autoResizeSet.
Calls MR_Vector_std_array_MR_VertId_2_autoResizeSet_3().
| auto meshlib::Vector_std_array_MR_VertId_2::back | ( | ) | const -> &meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::back.
Calls MR_Vector_std_array_MR_VertId_2_back(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::back_id | ( | ) | const -> usize |
returns the identifier of the back() element Generated from method MR::Vector<std::array<MR::VertId, 2>>::backId.
Calls MR_Vector_std_array_MR_VertId_2_backId().
| auto meshlib::Vector_std_array_MR_VertId_2::back_mut | ( | ) | -> &mut meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::back.
Calls MR_Vector_std_array_MR_VertId_2_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::begin_id | ( | ) | const -> usize |
returns the identifier of the first element Generated from method MR::Vector<std::array<MR::VertId, 2>>::beginId.
Calls MR_Vector_std_array_MR_VertId_2_beginId().
| auto meshlib::Vector_std_array_MR_VertId_2::capacity | ( | ) | const -> usize |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::capacity.
Calls MR_Vector_std_array_MR_VertId_2_capacity().
| void meshlib::Vector_std_array_MR_VertId_2::clear | ( | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::clear.
Calls MR_Vector_std_array_MR_VertId_2_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::Vector<std::array<MR::VertId, 2>>::Vector.
Calls MR_Vector_std_array_MR_VertId_2_Construct(). The reference to the parameter size might be preserved in the constructed object.
|
static |
creates a vector with size elements with the given value Generated from constructor MR::Vector<std::array<MR::VertId, 2>>::Vector.
Calls MR_Vector_std_array_MR_VertId_2_Construct_fill(). The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector<std::array<MR::VertId, 2>>::Vector.
Calls MR_Vector_std_array_MR_VertId_2_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Vector_std_array_MR_VertId_2::data | ( | ) | const -> Option<&meshlib::std_array_MR_VertId_2 > |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::data.
Calls MR_Vector_std_array_MR_VertId_2_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::data_mut | ( | ) | -> Option<&mut meshlib::std_array_MR_VertId_2 > |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::data.
Calls MR_Vector_std_array_MR_VertId_2_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::empty | ( | ) | const -> bool |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::empty.
Calls MR_Vector_std_array_MR_VertId_2_empty().
| auto meshlib::Vector_std_array_MR_VertId_2::end_id | ( | ) | const -> usize |
returns backId() + 1 Generated from method MR::Vector<std::array<MR::VertId, 2>>::endId.
Calls MR_Vector_std_array_MR_VertId_2_endId().
| auto meshlib::Vector_std_array_MR_VertId_2::front | ( | ) | const -> &meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::front.
Calls MR_Vector_std_array_MR_VertId_2_front(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::front_mut | ( | ) | -> &mut meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::front.
Calls MR_Vector_std_array_MR_VertId_2_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Vector<std::array<MR::VertId, 2>>::heapBytes.
Calls MR_Vector_std_array_MR_VertId_2_heapBytes().
| auto meshlib::Vector_std_array_MR_VertId_2::index | ( | i:usize | ) | const -> &meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::operator[].
Calls MR_Vector_std_array_MR_VertId_2_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::index_mut | ( | i:usize | ) | -> &mut meshlib::std_array_MR_VertId_2 |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::operator[].
Calls MR_Vector_std_array_MR_VertId_2_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::max_size | ( | ) | const -> usize |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::max_size.
Calls MR_Vector_std_array_MR_VertId_2_max_size().
|
static |
creates empty vector
Calls MR_Vector_std_array_MR_VertId_2_DefaultConstruct().
| auto meshlib::Vector_std_array_MR_VertId_2::op_equal | ( | b:&meshlib::Vector_std_array_MR_VertId_2 | ) | const -> bool |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::operator==.
Calls MR_equal_MR_Vector_std_array_MR_VertId_2().
| auto meshlib::Vector_std_array_MR_VertId_2::op_not_equal | ( | b:&meshlib::Vector_std_array_MR_VertId_2 | ) | const -> bool |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::operator!=.
Calls MR_not_equal_MR_Vector_std_array_MR_VertId_2().
| void meshlib::Vector_std_array_MR_VertId_2::pop_back | ( | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::pop_back.
Calls MR_Vector_std_array_MR_VertId_2_pop_back().
| void meshlib::Vector_std_array_MR_VertId_2::push_back_const_std_array_mr_vert_id_2_ref | ( | t:&meshlib::std_array_MR_VertId_2 | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::push_back.
Calls MR_Vector_std_array_MR_VertId_2_push_back_const_std_array_MR_VertId_2_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_std_array_MR_VertId_2::push_back_std_array_mr_vert_id_2_rvalue_ref | ( | t:&mut meshlib::std_array_MR_VertId_2 | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::push_back.
Calls MR_Vector_std_array_MR_VertId_2_push_back_std_array_MR_VertId_2_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_std_array_MR_VertId_2::reserve | ( | capacity:usize | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::reserve.
Calls MR_Vector_std_array_MR_VertId_2_reserve().
| void meshlib::Vector_std_array_MR_VertId_2::resize_1 | ( | newSize:usize | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::resize.
Calls MR_Vector_std_array_MR_VertId_2_resize_1().
| void meshlib::Vector_std_array_MR_VertId_2::resize_2 | ( | newSize:usize | , |
| t:&meshlib::std_array_MR_VertId_2 | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::resize.
Calls MR_Vector_std_array_MR_VertId_2_resize_2().
| void meshlib::Vector_std_array_MR_VertId_2::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<std::array<MR::VertId, 2>>::resizeWithReserve.
Calls MR_Vector_std_array_MR_VertId_2_resizeWithReserve_1().
| void meshlib::Vector_std_array_MR_VertId_2::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::std_array_MR_VertId_2 | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<std::array<MR::VertId, 2>>::resizeWithReserve.
Calls MR_Vector_std_array_MR_VertId_2_resizeWithReserve_2().
| void meshlib::Vector_std_array_MR_VertId_2::set_vec | ( | value:&meshlib::std_vector_std_array_MR_VertId_2_MR_Allocator_std_array_MR_VertId_2 | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<std::array<MR::VertId, 2>> named vec.
Calls MR_Vector_std_array_MR_VertId_2_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::Vector_std_array_MR_VertId_2::shrink_to_fit | ( | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::shrink_to_fit.
Calls MR_Vector_std_array_MR_VertId_2_shrink_to_fit().
| auto meshlib::Vector_std_array_MR_VertId_2::size | ( | ) | const -> usize |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::size.
Calls MR_Vector_std_array_MR_VertId_2_size().
| void meshlib::Vector_std_array_MR_VertId_2::swap | ( | b:&mut meshlib::Vector_std_array_MR_VertId_2 | ) |
Generated from method MR::Vector<std::array<MR::VertId, 2>>::swap.
Calls MR_Vector_std_array_MR_VertId_2_swap().
| auto meshlib::Vector_std_array_MR_VertId_2::vec | ( | ) | const -> &meshlib::std_vector_std_array_MR_VertId_2_MR_Allocator_std_array_MR_VertId_2 |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<std::array<MR::VertId, 2>> named vec.
Calls MR_Vector_std_array_MR_VertId_2_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::Vector_std_array_MR_VertId_2::vec_mut | ( | ) | -> &mut meshlib::std_vector_std_array_MR_VertId_2_MR_Allocator_std_array_MR_VertId_2 |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::Vector<std::array<MR::VertId, 2>> named vec.
Calls MR_Vector_std_array_MR_VertId_2_GetMutable_vec(). The reference to this object might be preserved as the return value.