Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Vector_MR_ObjFaceId_MR_FaceId > |
| static auto | construct_from_another (_other:&meshlib::Vector_MR_ObjFaceId_MR_FaceId) -> meshlib::Owned< meshlib::Vector_MR_ObjFaceId_MR_FaceId > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Vector_MR_ObjFaceId_MR_FaceId > |
| static auto | construct_fill (size:usize, val:&meshlib::ObjFaceId) -> meshlib::Owned< meshlib::Vector_MR_ObjFaceId_MR_FaceId > |
| 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<MR::ObjFaceId, MR::FaceId>.
Generated from class MR::Vector<MR::ObjFaceId, MR::FaceId>. Heap-allocated instances are held in Owned<Vector_MR_ObjFaceId_MR_FaceId>.
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::assign | ( | count:usize | , |
| val:&meshlib::ObjFaceId | ) |
replaces the contents with count copies of val Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::assign.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::assign_from_another | ( | _other:&meshlib::Vector_MR_ObjFaceId_MR_FaceId | ) | -> &mut meshlib::Vector_MR_ObjFaceId_MR_FaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::operator=.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::auto_resize_at | ( | i:meshlib::FaceId | ) | -> &mut meshlib::ObjFaceId |
this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::autoResizeAt.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeAt().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::auto_resize_set_2 | ( | i:meshlib::FaceId | , |
| val:meshlib::ObjFaceId | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::autoResizeSet.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeSet_2().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::auto_resize_set_3 | ( | pos:meshlib::FaceId | , |
| len:usize | , | ||
| val:meshlib::ObjFaceId | ) |
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<MR::ObjFaceId, MR::FaceId>::autoResizeSet.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_autoResizeSet_3().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::back | ( | ) | const -> &meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::back.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_back(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::back_id | ( | ) | const -> meshlib::FaceId |
returns the identifier of the back() element Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::backId.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_backId().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::back_mut | ( | ) | -> &mut meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::back.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::begin_id | ( | ) | const -> meshlib::FaceId |
returns the identifier of the first element Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::beginId.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_beginId().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::capacity | ( | ) | const -> usize |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::capacity.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_capacity().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::clear | ( | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::clear.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::Vector<MR::ObjFaceId, MR::FaceId>::Vector.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_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<MR::ObjFaceId, MR::FaceId>::Vector.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_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<MR::ObjFaceId, MR::FaceId>::Vector.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::data | ( | ) | const -> Option<&meshlib::ObjFaceId > |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::data.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::data_mut | ( | ) | -> Option<&mut meshlib::ObjFaceId > |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::data.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::empty | ( | ) | const -> bool |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::empty.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_empty().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::end_id | ( | ) | const -> meshlib::FaceId |
returns backId() + 1 Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::endId.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_endId().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::front | ( | ) | const -> &meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::front.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_front(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::front_mut | ( | ) | -> &mut meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::front.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::heapBytes.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_heapBytes().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::index | ( | i:meshlib::FaceId | ) | const -> &meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::operator[].
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::index_mut | ( | i:meshlib::FaceId | ) | -> &mut meshlib::ObjFaceId |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::operator[].
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::max_size | ( | ) | const -> usize |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::max_size.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_max_size().
|
static |
creates empty vector
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_DefaultConstruct().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::op_equal | ( | b:&meshlib::Vector_MR_ObjFaceId_MR_FaceId | ) | const -> bool |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::operator==.
Calls MR_equal_MR_Vector_MR_ObjFaceId_MR_FaceId().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::op_not_equal | ( | b:&meshlib::Vector_MR_ObjFaceId_MR_FaceId | ) | const -> bool |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::operator!=.
Calls MR_not_equal_MR_Vector_MR_ObjFaceId_MR_FaceId().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::pop_back | ( | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::pop_back.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_pop_back().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::push_back_const_mr_obj_face_id_ref | ( | t:&meshlib::ObjFaceId | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::push_back.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_push_back_const_MR_ObjFaceId_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::push_back_mr_obj_face_id_rvalue_ref | ( | t:&mut meshlib::ObjFaceId | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::push_back.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_push_back_MR_ObjFaceId_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::reserve | ( | capacity:usize | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::reserve.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_reserve().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::resize_1 | ( | newSize:usize | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::resize.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resize_1().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::resize_2 | ( | newSize:usize | , |
| t:&meshlib::ObjFaceId | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::resize.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resize_2().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::resizeWithReserve.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resizeWithReserve_1().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::ObjFaceId | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::resizeWithReserve.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_resizeWithReserve_2().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::set_vec | ( | value:&meshlib::std_vector_MR_ObjFaceId_MR_Allocator_MR_ObjFaceId | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<MR::ObjFaceId, MR::FaceId> named vec.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::shrink_to_fit | ( | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::shrink_to_fit.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_shrink_to_fit().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::size | ( | ) | const -> usize |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::size.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_size().
| void meshlib::Vector_MR_ObjFaceId_MR_FaceId::swap | ( | b:&mut meshlib::Vector_MR_ObjFaceId_MR_FaceId | ) |
Generated from method MR::Vector<MR::ObjFaceId, MR::FaceId>::swap.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_swap().
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::vec | ( | ) | const -> &meshlib::std_vector_MR_ObjFaceId_MR_Allocator_MR_ObjFaceId |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<MR::ObjFaceId, MR::FaceId> named vec.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::Vector_MR_ObjFaceId_MR_FaceId::vec_mut | ( | ) | -> &mut meshlib::std_vector_MR_ObjFaceId_MR_Allocator_MR_ObjFaceId |
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<MR::ObjFaceId, MR::FaceId> named vec.
Calls MR_Vector_MR_ObjFaceId_MR_FaceId_GetMutable_vec(). The reference to this object might be preserved as the return value.