Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Vector_int_MR_RegionId) -> &mut meshlib::Vector_int_MR_RegionId |
| void | assign (count:usize, val:&core::ffi::c_int) |
| auto | op_equal (b:&meshlib::Vector_int_MR_RegionId) const -> bool |
| auto | op_not_equal (b:&meshlib::Vector_int_MR_RegionId) 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:&core::ffi::c_int) |
| auto | capacity () const -> usize |
| void | reserve (capacity:usize) |
| void | shrink_to_fit () |
| auto | index (i:meshlib::RegionId) const -> &core::ffi::c_int |
| auto | index_mut (i:meshlib::RegionId) -> &mut core::ffi::c_int |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&core::ffi::c_int) |
| void | auto_resize_set_3 (pos:meshlib::RegionId, len:usize, val:core::ffi::c_int) |
| void | auto_resize_set_2 (i:meshlib::RegionId, val:core::ffi::c_int) |
| auto | auto_resize_at (i:meshlib::RegionId) -> &mut core::ffi::c_int |
| void | push_back_const_int_ref (t:&core::ffi::c_int) |
| void | push_back_int_rvalue_ref (t:&mut core::ffi::c_int) |
| void | pop_back () |
| auto | front () const -> &core::ffi::c_int |
| auto | front_mut () -> &mut core::ffi::c_int |
| auto | back () const -> &core::ffi::c_int |
| auto | back_mut () -> &mut core::ffi::c_int |
| auto | begin_id () const -> meshlib::RegionId |
| auto | back_id () const -> meshlib::RegionId |
| auto | end_id () const -> meshlib::RegionId |
| auto | data_mut () -> Option<&mut core::ffi::c_int > |
| auto | data () const -> Option<&core::ffi::c_int > |
| void | swap (b:&mut meshlib::Vector_int_MR_RegionId) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_int_MR_Allocator_int |
| auto | vec_mut () -> &mut meshlib::std_vector_int_MR_Allocator_int |
| void | set_vec (value:&meshlib::std_vector_int_MR_Allocator_int) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Vector_int_MR_RegionId > |
| static auto | construct_from_another (_other:&meshlib::Vector_int_MR_RegionId) -> meshlib::Owned< meshlib::Vector_int_MR_RegionId > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Vector_int_MR_RegionId > |
| static auto | construct_fill (size:usize, val:&core::ffi::c_int) -> meshlib::Owned< meshlib::Vector_int_MR_RegionId > |
| 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<int, MR::RegionId>.
Generated from class MR::Vector<int, MR::RegionId>. Heap-allocated instances are held in Owned<Vector_int_MR_RegionId>.
| void meshlib::Vector_int_MR_RegionId::assign | ( | count:usize | , |
| val:&core::ffi::c_int | ) |
replaces the contents with count copies of val Generated from method MR::Vector<int, MR::RegionId>::assign.
Calls MR_Vector_int_MR_RegionId_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::Vector_int_MR_RegionId::assign_from_another | ( | _other:&meshlib::Vector_int_MR_RegionId | ) | -> &mut meshlib::Vector_int_MR_RegionId |
Generated from method MR::Vector<int, MR::RegionId>::operator=.
Calls MR_Vector_int_MR_RegionId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Vector_int_MR_RegionId::auto_resize_at | ( | i:meshlib::RegionId | ) | -> &mut core::ffi::c_int |
this accessor automatically adjusts the size of the vector Generated from method MR::Vector<int, MR::RegionId>::autoResizeAt.
Calls MR_Vector_int_MR_RegionId_autoResizeAt().
| void meshlib::Vector_int_MR_RegionId::auto_resize_set_2 | ( | i:meshlib::RegionId | , |
| val:core::ffi::c_int | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<int, MR::RegionId>::autoResizeSet.
Calls MR_Vector_int_MR_RegionId_autoResizeSet_2().
| void meshlib::Vector_int_MR_RegionId::auto_resize_set_3 | ( | pos:meshlib::RegionId | , |
| len:usize | , | ||
| val:core::ffi::c_int | ) |
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<int, MR::RegionId>::autoResizeSet.
Calls MR_Vector_int_MR_RegionId_autoResizeSet_3().
| auto meshlib::Vector_int_MR_RegionId::back | ( | ) | const -> &core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::back.
Calls MR_Vector_int_MR_RegionId_back(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::back_id | ( | ) | const -> meshlib::RegionId |
returns the identifier of the back() element Generated from method MR::Vector<int, MR::RegionId>::backId.
Calls MR_Vector_int_MR_RegionId_backId().
| auto meshlib::Vector_int_MR_RegionId::back_mut | ( | ) | -> &mut core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::back.
Calls MR_Vector_int_MR_RegionId_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::begin_id | ( | ) | const -> meshlib::RegionId |
returns the identifier of the first element Generated from method MR::Vector<int, MR::RegionId>::beginId.
Calls MR_Vector_int_MR_RegionId_beginId().
| auto meshlib::Vector_int_MR_RegionId::capacity | ( | ) | const -> usize |
Generated from method MR::Vector<int, MR::RegionId>::capacity.
Calls MR_Vector_int_MR_RegionId_capacity().
| void meshlib::Vector_int_MR_RegionId::clear | ( | ) |
Generated from method MR::Vector<int, MR::RegionId>::clear.
Calls MR_Vector_int_MR_RegionId_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::Vector<int, MR::RegionId>::Vector.
Calls MR_Vector_int_MR_RegionId_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<int, MR::RegionId>::Vector.
Calls MR_Vector_int_MR_RegionId_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<int, MR::RegionId>::Vector.
Calls MR_Vector_int_MR_RegionId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Vector_int_MR_RegionId::data | ( | ) | const -> Option<&core::ffi::c_int > |
Generated from method MR::Vector<int, MR::RegionId>::data.
Calls MR_Vector_int_MR_RegionId_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::data_mut | ( | ) | -> Option<&mut core::ffi::c_int > |
Generated from method MR::Vector<int, MR::RegionId>::data.
Calls MR_Vector_int_MR_RegionId_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::empty | ( | ) | const -> bool |
Generated from method MR::Vector<int, MR::RegionId>::empty.
Calls MR_Vector_int_MR_RegionId_empty().
| auto meshlib::Vector_int_MR_RegionId::end_id | ( | ) | const -> meshlib::RegionId |
returns backId() + 1 Generated from method MR::Vector<int, MR::RegionId>::endId.
Calls MR_Vector_int_MR_RegionId_endId().
| auto meshlib::Vector_int_MR_RegionId::front | ( | ) | const -> &core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::front.
Calls MR_Vector_int_MR_RegionId_front(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::front_mut | ( | ) | -> &mut core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::front.
Calls MR_Vector_int_MR_RegionId_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Vector<int, MR::RegionId>::heapBytes.
Calls MR_Vector_int_MR_RegionId_heapBytes().
| auto meshlib::Vector_int_MR_RegionId::index | ( | i:meshlib::RegionId | ) | const -> &core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::operator[].
Calls MR_Vector_int_MR_RegionId_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::index_mut | ( | i:meshlib::RegionId | ) | -> &mut core::ffi::c_int |
Generated from method MR::Vector<int, MR::RegionId>::operator[].
Calls MR_Vector_int_MR_RegionId_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_int_MR_RegionId::max_size | ( | ) | const -> usize |
Generated from method MR::Vector<int, MR::RegionId>::max_size.
Calls MR_Vector_int_MR_RegionId_max_size().
|
static |
creates empty vector
Calls MR_Vector_int_MR_RegionId_DefaultConstruct().
| auto meshlib::Vector_int_MR_RegionId::op_equal | ( | b:&meshlib::Vector_int_MR_RegionId | ) | const -> bool |
Generated from method MR::Vector<int, MR::RegionId>::operator==.
Calls MR_equal_MR_Vector_int_MR_RegionId().
| auto meshlib::Vector_int_MR_RegionId::op_not_equal | ( | b:&meshlib::Vector_int_MR_RegionId | ) | const -> bool |
Generated from method MR::Vector<int, MR::RegionId>::operator!=.
Calls MR_not_equal_MR_Vector_int_MR_RegionId().
| void meshlib::Vector_int_MR_RegionId::pop_back | ( | ) |
Generated from method MR::Vector<int, MR::RegionId>::pop_back.
Calls MR_Vector_int_MR_RegionId_pop_back().
| void meshlib::Vector_int_MR_RegionId::push_back_const_int_ref | ( | t:&core::ffi::c_int | ) |
Generated from method MR::Vector<int, MR::RegionId>::push_back.
Calls MR_Vector_int_MR_RegionId_push_back_const_int_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_int_MR_RegionId::push_back_int_rvalue_ref | ( | t:&mut core::ffi::c_int | ) |
Generated from method MR::Vector<int, MR::RegionId>::push_back.
Calls MR_Vector_int_MR_RegionId_push_back_int_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_int_MR_RegionId::reserve | ( | capacity:usize | ) |
Generated from method MR::Vector<int, MR::RegionId>::reserve.
Calls MR_Vector_int_MR_RegionId_reserve().
| void meshlib::Vector_int_MR_RegionId::resize_1 | ( | newSize:usize | ) |
Generated from method MR::Vector<int, MR::RegionId>::resize.
Calls MR_Vector_int_MR_RegionId_resize_1().
| void meshlib::Vector_int_MR_RegionId::resize_2 | ( | newSize:usize | , |
| t:&core::ffi::c_int | ) |
Generated from method MR::Vector<int, MR::RegionId>::resize.
Calls MR_Vector_int_MR_RegionId_resize_2().
| void meshlib::Vector_int_MR_RegionId::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<int, MR::RegionId>::resizeWithReserve.
Calls MR_Vector_int_MR_RegionId_resizeWithReserve_1().
| void meshlib::Vector_int_MR_RegionId::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&core::ffi::c_int | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<int, MR::RegionId>::resizeWithReserve.
Calls MR_Vector_int_MR_RegionId_resizeWithReserve_2().
| void meshlib::Vector_int_MR_RegionId::set_vec | ( | value:&meshlib::std_vector_int_MR_Allocator_int | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<int, MR::RegionId> named vec.
Calls MR_Vector_int_MR_RegionId_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::Vector_int_MR_RegionId::shrink_to_fit | ( | ) |
Generated from method MR::Vector<int, MR::RegionId>::shrink_to_fit.
Calls MR_Vector_int_MR_RegionId_shrink_to_fit().
| auto meshlib::Vector_int_MR_RegionId::size | ( | ) | const -> usize |
Generated from method MR::Vector<int, MR::RegionId>::size.
Calls MR_Vector_int_MR_RegionId_size().
| void meshlib::Vector_int_MR_RegionId::swap | ( | b:&mut meshlib::Vector_int_MR_RegionId | ) |
Generated from method MR::Vector<int, MR::RegionId>::swap.
Calls MR_Vector_int_MR_RegionId_swap().
| auto meshlib::Vector_int_MR_RegionId::vec | ( | ) | const -> &meshlib::std_vector_int_MR_Allocator_int |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<int, MR::RegionId> named vec.
Calls MR_Vector_int_MR_RegionId_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::Vector_int_MR_RegionId::vec_mut | ( | ) | -> &mut meshlib::std_vector_int_MR_Allocator_int |
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<int, MR::RegionId> named vec.
Calls MR_Vector_int_MR_RegionId_GetMutable_vec(). The reference to this object might be preserved as the return value.