Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertMap) -> &mut meshlib::VertMap |
| void | assign (count:usize, val:&meshlib::VertId) |
| auto | op_equal (b:&meshlib::VertMap) const -> bool |
| auto | op_not_equal (b:&meshlib::VertMap) const -> bool |
| void | clear () |
| auto | empty () const -> bool |
| auto | size () const -> usize |
| auto | max_size () const -> usize |
| void | resize_1 (newSize:usize) |
| void | resize_2 (newSize:usize, t:&meshlib::VertId) |
| void | resize_no_init (targetSize:usize, mode:Option< meshlib::ReserveMode >) |
| auto | capacity () const -> usize |
| void | reserve (capacity:usize) |
| void | shrink_to_fit () |
| auto | index (i:meshlib::VertId) const -> &meshlib::VertId |
| auto | index_mut (i:meshlib::VertId) -> &mut meshlib::VertId |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&meshlib::VertId) |
| void | auto_resize_set_3 (pos:meshlib::VertId, len:usize, val:meshlib::VertId) |
| void | auto_resize_set_2 (i:meshlib::VertId, val:meshlib::VertId) |
| auto | auto_resize_at (i:meshlib::VertId) -> &mut meshlib::VertId |
| void | push_back_const_mr_vert_id_ref (t:&meshlib::VertId) |
| void | push_back_mr_vert_id_rvalue_ref (t:&mut meshlib::VertId) |
| void | pop_back () |
| auto | front () const -> &meshlib::VertId |
| auto | front_mut () -> &mut meshlib::VertId |
| auto | back () const -> &meshlib::VertId |
| auto | back_mut () -> &mut meshlib::VertId |
| auto | begin_id () const -> meshlib::VertId |
| auto | back_id () const -> meshlib::VertId |
| auto | end_id () const -> meshlib::VertId |
| auto | data_mut () -> Option<&mut meshlib::VertId > |
| auto | data () const -> Option<&meshlib::VertId > |
| void | swap (b:&mut meshlib::VertMap) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId |
| auto | vec_mut () -> &mut meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId |
| void | set_vec (value:&meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertMap > |
| static auto | construct_from_another (_other:&meshlib::VertMap) -> meshlib::Owned< meshlib::VertMap > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::VertMap > |
| static auto | construct_fill (size:usize, val:&meshlib::VertId) -> meshlib::Owned< meshlib::VertMap > |
| 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::VertMap.
Generated from class MR::VertMap. Heap-allocated instances are held in Owned<VertMap>.
| void meshlib::VertMap::assign | ( | count:usize | , |
| val:&meshlib::VertId | ) |
replaces the contents with count copies of val Generated from method MR::VertMap::assign.
Calls MR_VertMap_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::VertMap::assign_from_another | ( | _other:&meshlib::VertMap | ) | -> &mut meshlib::VertMap |
Generated from method MR::VertMap::operator=.
Calls MR_VertMap_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VertMap::auto_resize_at | ( | i:meshlib::VertId | ) | -> &mut meshlib::VertId |
this accessor automatically adjusts the size of the vector Generated from method MR::VertMap::autoResizeAt.
Calls MR_VertMap_autoResizeAt().
| void meshlib::VertMap::auto_resize_set_2 | ( | i:meshlib::VertId | , |
| val:meshlib::VertId | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::VertMap::autoResizeSet.
Calls MR_VertMap_autoResizeSet_2().
| void meshlib::VertMap::auto_resize_set_3 | ( | pos:meshlib::VertId | , |
| len:usize | , | ||
| val:meshlib::VertId | ) |
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::VertMap::autoResizeSet.
Calls MR_VertMap_autoResizeSet_3().
| auto meshlib::VertMap::back | ( | ) | const -> &meshlib::VertId |
Generated from method MR::VertMap::back.
Calls MR_VertMap_back(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::back_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the back() element Generated from method MR::VertMap::backId.
Calls MR_VertMap_backId().
| auto meshlib::VertMap::back_mut | ( | ) | -> &mut meshlib::VertId |
Generated from method MR::VertMap::back.
Calls MR_VertMap_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::begin_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the first element Generated from method MR::VertMap::beginId.
Calls MR_VertMap_beginId().
| auto meshlib::VertMap::capacity | ( | ) | const -> usize |
Generated from method MR::VertMap::capacity.
Calls MR_VertMap_capacity().
| void meshlib::VertMap::clear | ( | ) |
Generated from method MR::VertMap::clear.
Calls MR_VertMap_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::VertMap::VertMap.
Calls MR_VertMap_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::VertMap::VertMap.
Calls MR_VertMap_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::VertMap::VertMap.
Calls MR_VertMap_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VertMap::data | ( | ) | const -> Option<&meshlib::VertId > |
Generated from method MR::VertMap::data.
Calls MR_VertMap_data(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::data_mut | ( | ) | -> Option<&mut meshlib::VertId > |
Generated from method MR::VertMap::data.
Calls MR_VertMap_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::empty | ( | ) | const -> bool |
Generated from method MR::VertMap::empty.
Calls MR_VertMap_empty().
| auto meshlib::VertMap::end_id | ( | ) | const -> meshlib::VertId |
returns backId() + 1 Generated from method MR::VertMap::endId.
Calls MR_VertMap_endId().
| auto meshlib::VertMap::front | ( | ) | const -> &meshlib::VertId |
Generated from method MR::VertMap::front.
Calls MR_VertMap_front(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::front_mut | ( | ) | -> &mut meshlib::VertId |
Generated from method MR::VertMap::front.
Calls MR_VertMap_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::VertMap::heapBytes.
Calls MR_VertMap_heapBytes().
| auto meshlib::VertMap::index | ( | i:meshlib::VertId | ) | const -> &meshlib::VertId |
Generated from method MR::VertMap::operator[].
Calls MR_VertMap_index(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::index_mut | ( | i:meshlib::VertId | ) | -> &mut meshlib::VertId |
Generated from method MR::VertMap::operator[].
Calls MR_VertMap_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertMap::max_size | ( | ) | const -> usize |
Generated from method MR::VertMap::max_size.
Calls MR_VertMap_max_size().
|
static |
creates empty vector
Calls MR_VertMap_DefaultConstruct().
| auto meshlib::VertMap::op_equal | ( | b:&meshlib::VertMap | ) | const -> bool |
Generated from method MR::VertMap::operator==.
Calls MR_equal_MR_VertMap().
| auto meshlib::VertMap::op_not_equal | ( | b:&meshlib::VertMap | ) | const -> bool |
Generated from method MR::VertMap::operator!=.
Calls MR_not_equal_MR_VertMap().
| void meshlib::VertMap::pop_back | ( | ) |
Generated from method MR::VertMap::pop_back.
Calls MR_VertMap_pop_back().
| void meshlib::VertMap::push_back_const_mr_vert_id_ref | ( | t:&meshlib::VertId | ) |
Generated from method MR::VertMap::push_back.
Calls MR_VertMap_push_back_const_MR_VertId_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertMap::push_back_mr_vert_id_rvalue_ref | ( | t:&mut meshlib::VertId | ) |
Generated from method MR::VertMap::push_back.
Calls MR_VertMap_push_back_MR_VertId_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertMap::reserve | ( | capacity:usize | ) |
Generated from method MR::VertMap::reserve.
Calls MR_VertMap_reserve().
| void meshlib::VertMap::resize_1 | ( | newSize:usize | ) |
Generated from method MR::VertMap::resize.
Calls MR_VertMap_resize_1().
| void meshlib::VertMap::resize_2 | ( | newSize:usize | , |
| t:&meshlib::VertId | ) |
Generated from method MR::VertMap::resize.
Calls MR_VertMap_resize_2().
| void meshlib::VertMap::resize_no_init | ( | targetSize:usize | , |
| mode:Option< meshlib::ReserveMode > | ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::VertMap::resizeNoInit.
Calls MR_VertMap_resizeNoInit().
| void meshlib::VertMap::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::VertMap::resizeWithReserve.
Calls MR_VertMap_resizeWithReserve_1().
| void meshlib::VertMap::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::VertId | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::VertMap::resizeWithReserve.
Calls MR_VertMap_resizeWithReserve_2().
| void meshlib::VertMap::set_vec | ( | value:&meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::VertMap named vec.
Calls MR_VertMap_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::VertMap::shrink_to_fit | ( | ) |
Generated from method MR::VertMap::shrink_to_fit.
Calls MR_VertMap_shrink_to_fit().
| auto meshlib::VertMap::size | ( | ) | const -> usize |
Generated from method MR::VertMap::size.
Calls MR_VertMap_size().
| void meshlib::VertMap::swap | ( | b:&mut meshlib::VertMap | ) |
Generated from method MR::VertMap::swap.
Calls MR_VertMap_swap().
| auto meshlib::VertMap::vec | ( | ) | const -> &meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::VertMap named vec.
Calls MR_VertMap_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::VertMap::vec_mut | ( | ) | -> &mut meshlib::std_vector_MR_VertId_MR_Allocator_MR_VertId |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::VertMap named vec.
Calls MR_VertMap_GetMutable_vec(). The reference to this object might be preserved as the return value.