Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Vector_unsigned_short_MR_VoxelId) -> &mut meshlib::Vector_unsigned_short_MR_VoxelId |
| void | assign (count:usize, val:&core::ffi::c_ushort) |
| auto | op_equal (b:&meshlib::Vector_unsigned_short_MR_VoxelId) const -> bool |
| auto | op_not_equal (b:&meshlib::Vector_unsigned_short_MR_VoxelId) 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_ushort) |
| auto | capacity () const -> usize |
| void | reserve (capacity:usize) |
| void | shrink_to_fit () |
| auto | index (i:meshlib::VoxelId) const -> &core::ffi::c_ushort |
| auto | index_mut (i:meshlib::VoxelId) -> &mut core::ffi::c_ushort |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&core::ffi::c_ushort) |
| void | auto_resize_set_3 (pos:meshlib::VoxelId, len:usize, val:core::ffi::c_ushort) |
| void | auto_resize_set_2 (i:meshlib::VoxelId, val:core::ffi::c_ushort) |
| auto | auto_resize_at (i:meshlib::VoxelId) -> &mut core::ffi::c_ushort |
| void | push_back_unsigned_const_short_ref (t:&core::ffi::c_ushort) |
| void | push_back_unsigned_short_rvalue_ref (t:&mut core::ffi::c_ushort) |
| void | pop_back () |
| auto | front () const -> &core::ffi::c_ushort |
| auto | front_mut () -> &mut core::ffi::c_ushort |
| auto | back () const -> &core::ffi::c_ushort |
| auto | back_mut () -> &mut core::ffi::c_ushort |
| auto | begin_id () const -> meshlib::VoxelId |
| auto | back_id () const -> meshlib::VoxelId |
| auto | end_id () const -> meshlib::VoxelId |
| auto | data_mut () -> Option<&mut core::ffi::c_ushort > |
| auto | data () const -> Option<&core::ffi::c_ushort > |
| void | swap (b:&mut meshlib::Vector_unsigned_short_MR_VoxelId) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short |
| auto | vec_mut () -> &mut meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short |
| void | set_vec (value:&meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Vector_unsigned_short_MR_VoxelId > |
| static auto | construct_from_another (_other:&meshlib::Vector_unsigned_short_MR_VoxelId) -> meshlib::Owned< meshlib::Vector_unsigned_short_MR_VoxelId > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Vector_unsigned_short_MR_VoxelId > |
| static auto | construct_fill (size:usize, val:&core::ffi::c_ushort) -> meshlib::Owned< meshlib::Vector_unsigned_short_MR_VoxelId > |
| 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<unsigned short, MR::VoxelId>.
Generated from class MR::Vector<unsigned short, MR::VoxelId>. Heap-allocated instances are held in Owned<Vector_unsigned_short_MR_VoxelId>.
| void meshlib::Vector_unsigned_short_MR_VoxelId::assign | ( | count:usize | , |
| val:&core::ffi::c_ushort | ) |
replaces the contents with count copies of val Generated from method MR::Vector<unsigned short, MR::VoxelId>::assign.
Calls MR_Vector_unsigned_short_MR_VoxelId_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::assign_from_another | ( | _other:&meshlib::Vector_unsigned_short_MR_VoxelId | ) | -> &mut meshlib::Vector_unsigned_short_MR_VoxelId |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator=.
Calls MR_Vector_unsigned_short_MR_VoxelId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::auto_resize_at | ( | i:meshlib::VoxelId | ) | -> &mut core::ffi::c_ushort |
this accessor automatically adjusts the size of the vector Generated from method MR::Vector<unsigned short, MR::VoxelId>::autoResizeAt.
Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeAt().
| void meshlib::Vector_unsigned_short_MR_VoxelId::auto_resize_set_2 | ( | i:meshlib::VoxelId | , |
| val:core::ffi::c_ushort | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<unsigned short, MR::VoxelId>::autoResizeSet.
Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeSet_2().
| void meshlib::Vector_unsigned_short_MR_VoxelId::auto_resize_set_3 | ( | pos:meshlib::VoxelId | , |
| len:usize | , | ||
| val:core::ffi::c_ushort | ) |
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<unsigned short, MR::VoxelId>::autoResizeSet.
Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeSet_3().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::back | ( | ) | const -> &core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::back.
Calls MR_Vector_unsigned_short_MR_VoxelId_back(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::back_id | ( | ) | const -> meshlib::VoxelId |
returns the identifier of the back() element Generated from method MR::Vector<unsigned short, MR::VoxelId>::backId.
Calls MR_Vector_unsigned_short_MR_VoxelId_backId().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::back_mut | ( | ) | -> &mut core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::back.
Calls MR_Vector_unsigned_short_MR_VoxelId_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::begin_id | ( | ) | const -> meshlib::VoxelId |
returns the identifier of the first element Generated from method MR::Vector<unsigned short, MR::VoxelId>::beginId.
Calls MR_Vector_unsigned_short_MR_VoxelId_beginId().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::capacity | ( | ) | const -> usize |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::capacity.
Calls MR_Vector_unsigned_short_MR_VoxelId_capacity().
| void meshlib::Vector_unsigned_short_MR_VoxelId::clear | ( | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::clear.
Calls MR_Vector_unsigned_short_MR_VoxelId_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::Vector<unsigned short, MR::VoxelId>::Vector.
Calls MR_Vector_unsigned_short_MR_VoxelId_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<unsigned short, MR::VoxelId>::Vector.
Calls MR_Vector_unsigned_short_MR_VoxelId_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<unsigned short, MR::VoxelId>::Vector.
Calls MR_Vector_unsigned_short_MR_VoxelId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::data | ( | ) | const -> Option<&core::ffi::c_ushort > |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::data.
Calls MR_Vector_unsigned_short_MR_VoxelId_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::data_mut | ( | ) | -> Option<&mut core::ffi::c_ushort > |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::data.
Calls MR_Vector_unsigned_short_MR_VoxelId_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::empty | ( | ) | const -> bool |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::empty.
Calls MR_Vector_unsigned_short_MR_VoxelId_empty().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::end_id | ( | ) | const -> meshlib::VoxelId |
returns backId() + 1 Generated from method MR::Vector<unsigned short, MR::VoxelId>::endId.
Calls MR_Vector_unsigned_short_MR_VoxelId_endId().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::front | ( | ) | const -> &core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::front.
Calls MR_Vector_unsigned_short_MR_VoxelId_front(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::front_mut | ( | ) | -> &mut core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::front.
Calls MR_Vector_unsigned_short_MR_VoxelId_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Vector<unsigned short, MR::VoxelId>::heapBytes.
Calls MR_Vector_unsigned_short_MR_VoxelId_heapBytes().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::index | ( | i:meshlib::VoxelId | ) | const -> &core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator[].
Calls MR_Vector_unsigned_short_MR_VoxelId_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::index_mut | ( | i:meshlib::VoxelId | ) | -> &mut core::ffi::c_ushort |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator[].
Calls MR_Vector_unsigned_short_MR_VoxelId_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::max_size | ( | ) | const -> usize |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::max_size.
Calls MR_Vector_unsigned_short_MR_VoxelId_max_size().
|
static |
creates empty vector
Calls MR_Vector_unsigned_short_MR_VoxelId_DefaultConstruct().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::op_equal | ( | b:&meshlib::Vector_unsigned_short_MR_VoxelId | ) | const -> bool |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator==.
Calls MR_equal_MR_Vector_unsigned_short_MR_VoxelId().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::op_not_equal | ( | b:&meshlib::Vector_unsigned_short_MR_VoxelId | ) | const -> bool |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator!=.
Calls MR_not_equal_MR_Vector_unsigned_short_MR_VoxelId().
| void meshlib::Vector_unsigned_short_MR_VoxelId::pop_back | ( | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::pop_back.
Calls MR_Vector_unsigned_short_MR_VoxelId_pop_back().
| void meshlib::Vector_unsigned_short_MR_VoxelId::push_back_unsigned_const_short_ref | ( | t:&core::ffi::c_ushort | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::push_back.
Calls MR_Vector_unsigned_short_MR_VoxelId_push_back_unsigned_const_short_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_unsigned_short_MR_VoxelId::push_back_unsigned_short_rvalue_ref | ( | t:&mut core::ffi::c_ushort | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::push_back.
Calls MR_Vector_unsigned_short_MR_VoxelId_push_back_unsigned_short_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::Vector_unsigned_short_MR_VoxelId::reserve | ( | capacity:usize | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::reserve.
Calls MR_Vector_unsigned_short_MR_VoxelId_reserve().
| void meshlib::Vector_unsigned_short_MR_VoxelId::resize_1 | ( | newSize:usize | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::resize.
Calls MR_Vector_unsigned_short_MR_VoxelId_resize_1().
| void meshlib::Vector_unsigned_short_MR_VoxelId::resize_2 | ( | newSize:usize | , |
| t:&core::ffi::c_ushort | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::resize.
Calls MR_Vector_unsigned_short_MR_VoxelId_resize_2().
| void meshlib::Vector_unsigned_short_MR_VoxelId::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<unsigned short, MR::VoxelId>::resizeWithReserve.
Calls MR_Vector_unsigned_short_MR_VoxelId_resizeWithReserve_1().
| void meshlib::Vector_unsigned_short_MR_VoxelId::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&core::ffi::c_ushort | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<unsigned short, MR::VoxelId>::resizeWithReserve.
Calls MR_Vector_unsigned_short_MR_VoxelId_resizeWithReserve_2().
| void meshlib::Vector_unsigned_short_MR_VoxelId::set_vec | ( | value:&meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<unsigned short, MR::VoxelId> named vec.
Calls MR_Vector_unsigned_short_MR_VoxelId_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::Vector_unsigned_short_MR_VoxelId::shrink_to_fit | ( | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::shrink_to_fit.
Calls MR_Vector_unsigned_short_MR_VoxelId_shrink_to_fit().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::size | ( | ) | const -> usize |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::size.
Calls MR_Vector_unsigned_short_MR_VoxelId_size().
| void meshlib::Vector_unsigned_short_MR_VoxelId::swap | ( | b:&mut meshlib::Vector_unsigned_short_MR_VoxelId | ) |
Generated from method MR::Vector<unsigned short, MR::VoxelId>::swap.
Calls MR_Vector_unsigned_short_MR_VoxelId_swap().
| auto meshlib::Vector_unsigned_short_MR_VoxelId::vec | ( | ) | const -> &meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<unsigned short, MR::VoxelId> named vec.
Calls MR_Vector_unsigned_short_MR_VoxelId_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::Vector_unsigned_short_MR_VoxelId::vec_mut | ( | ) | -> &mut meshlib::std_vector_unsigned_short_MR_Allocator_unsigned_short |
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<unsigned short, MR::VoxelId> named vec.
Calls MR_Vector_unsigned_short_MR_VoxelId_GetMutable_vec(). The reference to this object might be preserved as the return value.