Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertColors) -> &mut meshlib::VertColors |
| void | assign (count:usize, val:&meshlib::Color) |
| auto | op_equal (b:&meshlib::VertColors) const -> bool |
| auto | op_not_equal (b:&meshlib::VertColors) 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::Color) |
| 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::Color |
| auto | index_mut (i:meshlib::VertId) -> &mut meshlib::Color |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&meshlib::Color) |
| void | auto_resize_set_3 (pos:meshlib::VertId, len:usize, val:meshlib::Color) |
| void | auto_resize_set_2 (i:meshlib::VertId, val:meshlib::Color) |
| auto | auto_resize_at (i:meshlib::VertId) -> &mut meshlib::Color |
| void | push_back_const_mr_color_ref (t:&meshlib::Color) |
| void | push_back_mr_color_rvalue_ref (t:&mut meshlib::Color) |
| void | pop_back () |
| auto | front () const -> &meshlib::Color |
| auto | front_mut () -> &mut meshlib::Color |
| auto | back () const -> &meshlib::Color |
| auto | back_mut () -> &mut meshlib::Color |
| auto | begin_id () const -> meshlib::VertId |
| auto | back_id () const -> meshlib::VertId |
| auto | end_id () const -> meshlib::VertId |
| auto | data_mut () -> Option<&mut meshlib::Color > |
| auto | data () const -> Option<&meshlib::Color > |
| void | swap (b:&mut meshlib::VertColors) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_MR_Color_MR_Allocator_MR_Color |
| auto | vec_mut () -> &mut meshlib::std_vector_MR_Color_MR_Allocator_MR_Color |
| void | set_vec (value:&meshlib::std_vector_MR_Color_MR_Allocator_MR_Color) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertColors > |
| static auto | construct_from_another (_other:&meshlib::VertColors) -> meshlib::Owned< meshlib::VertColors > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::VertColors > |
| static auto | construct_fill (size:usize, val:&meshlib::Color) -> meshlib::Owned< meshlib::VertColors > |
| 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::VertColors.
Generated from class MR::VertColors. Heap-allocated instances are held in Owned<VertColors>.
| void meshlib::VertColors::assign | ( | count:usize | , |
| val:&meshlib::Color | ) |
replaces the contents with count copies of val Generated from method MR::VertColors::assign.
Calls MR_VertColors_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::VertColors::assign_from_another | ( | _other:&meshlib::VertColors | ) | -> &mut meshlib::VertColors |
Generated from method MR::VertColors::operator=.
Calls MR_VertColors_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VertColors::auto_resize_at | ( | i:meshlib::VertId | ) | -> &mut meshlib::Color |
this accessor automatically adjusts the size of the vector Generated from method MR::VertColors::autoResizeAt.
Calls MR_VertColors_autoResizeAt().
| void meshlib::VertColors::auto_resize_set_2 | ( | i:meshlib::VertId | , |
| val:meshlib::Color | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::VertColors::autoResizeSet.
Calls MR_VertColors_autoResizeSet_2().
| void meshlib::VertColors::auto_resize_set_3 | ( | pos:meshlib::VertId | , |
| len:usize | , | ||
| val:meshlib::Color | ) |
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::VertColors::autoResizeSet.
Calls MR_VertColors_autoResizeSet_3().
| auto meshlib::VertColors::back | ( | ) | const -> &meshlib::Color |
Generated from method MR::VertColors::back.
Calls MR_VertColors_back(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::back_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the back() element Generated from method MR::VertColors::backId.
Calls MR_VertColors_backId().
| auto meshlib::VertColors::back_mut | ( | ) | -> &mut meshlib::Color |
Generated from method MR::VertColors::back.
Calls MR_VertColors_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::begin_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the first element Generated from method MR::VertColors::beginId.
Calls MR_VertColors_beginId().
| auto meshlib::VertColors::capacity | ( | ) | const -> usize |
Generated from method MR::VertColors::capacity.
Calls MR_VertColors_capacity().
| void meshlib::VertColors::clear | ( | ) |
Generated from method MR::VertColors::clear.
Calls MR_VertColors_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::VertColors::VertColors.
Calls MR_VertColors_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::VertColors::VertColors.
Calls MR_VertColors_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::VertColors::VertColors.
Calls MR_VertColors_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VertColors::data | ( | ) | const -> Option<&meshlib::Color > |
Generated from method MR::VertColors::data.
Calls MR_VertColors_data(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::data_mut | ( | ) | -> Option<&mut meshlib::Color > |
Generated from method MR::VertColors::data.
Calls MR_VertColors_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::empty | ( | ) | const -> bool |
Generated from method MR::VertColors::empty.
Calls MR_VertColors_empty().
| auto meshlib::VertColors::end_id | ( | ) | const -> meshlib::VertId |
returns backId() + 1 Generated from method MR::VertColors::endId.
Calls MR_VertColors_endId().
| auto meshlib::VertColors::front | ( | ) | const -> &meshlib::Color |
Generated from method MR::VertColors::front.
Calls MR_VertColors_front(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::front_mut | ( | ) | -> &mut meshlib::Color |
Generated from method MR::VertColors::front.
Calls MR_VertColors_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::VertColors::heapBytes.
Calls MR_VertColors_heapBytes().
| auto meshlib::VertColors::index | ( | i:meshlib::VertId | ) | const -> &meshlib::Color |
Generated from method MR::VertColors::operator[].
Calls MR_VertColors_index(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::index_mut | ( | i:meshlib::VertId | ) | -> &mut meshlib::Color |
Generated from method MR::VertColors::operator[].
Calls MR_VertColors_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertColors::max_size | ( | ) | const -> usize |
Generated from method MR::VertColors::max_size.
Calls MR_VertColors_max_size().
|
static |
creates empty vector
Calls MR_VertColors_DefaultConstruct().
| auto meshlib::VertColors::op_equal | ( | b:&meshlib::VertColors | ) | const -> bool |
Generated from method MR::VertColors::operator==.
Calls MR_equal_MR_VertColors().
| auto meshlib::VertColors::op_not_equal | ( | b:&meshlib::VertColors | ) | const -> bool |
Generated from method MR::VertColors::operator!=.
Calls MR_not_equal_MR_VertColors().
| void meshlib::VertColors::pop_back | ( | ) |
Generated from method MR::VertColors::pop_back.
Calls MR_VertColors_pop_back().
| void meshlib::VertColors::push_back_const_mr_color_ref | ( | t:&meshlib::Color | ) |
Generated from method MR::VertColors::push_back.
Calls MR_VertColors_push_back_const_MR_Color_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertColors::push_back_mr_color_rvalue_ref | ( | t:&mut meshlib::Color | ) |
Generated from method MR::VertColors::push_back.
Calls MR_VertColors_push_back_MR_Color_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertColors::reserve | ( | capacity:usize | ) |
Generated from method MR::VertColors::reserve.
Calls MR_VertColors_reserve().
| void meshlib::VertColors::resize_1 | ( | newSize:usize | ) |
Generated from method MR::VertColors::resize.
Calls MR_VertColors_resize_1().
| void meshlib::VertColors::resize_2 | ( | newSize:usize | , |
| t:&meshlib::Color | ) |
Generated from method MR::VertColors::resize.
Calls MR_VertColors_resize_2().
| void meshlib::VertColors::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::VertColors::resizeNoInit.
Calls MR_VertColors_resizeNoInit().
| void meshlib::VertColors::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::VertColors::resizeWithReserve.
Calls MR_VertColors_resizeWithReserve_1().
| void meshlib::VertColors::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::Color | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::VertColors::resizeWithReserve.
Calls MR_VertColors_resizeWithReserve_2().
| void meshlib::VertColors::set_vec | ( | value:&meshlib::std_vector_MR_Color_MR_Allocator_MR_Color | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::VertColors named vec.
Calls MR_VertColors_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::VertColors::shrink_to_fit | ( | ) |
Generated from method MR::VertColors::shrink_to_fit.
Calls MR_VertColors_shrink_to_fit().
| auto meshlib::VertColors::size | ( | ) | const -> usize |
Generated from method MR::VertColors::size.
Calls MR_VertColors_size().
| void meshlib::VertColors::swap | ( | b:&mut meshlib::VertColors | ) |
Generated from method MR::VertColors::swap.
Calls MR_VertColors_swap().
| auto meshlib::VertColors::vec | ( | ) | const -> &meshlib::std_vector_MR_Color_MR_Allocator_MR_Color |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::VertColors named vec.
Calls MR_VertColors_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::VertColors::vec_mut | ( | ) | -> &mut meshlib::std_vector_MR_Color_MR_Allocator_MR_Color |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::VertColors named vec.
Calls MR_VertColors_GetMutable_vec(). The reference to this object might be preserved as the return value.