Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::EdgeColors) -> &mut meshlib::EdgeColors |
| void | assign (count:usize, val:&meshlib::Color) |
| auto | op_equal (b:&meshlib::EdgeColors) const -> bool |
| auto | op_not_equal (b:&meshlib::EdgeColors) 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::EdgeId) const -> &meshlib::Color |
| auto | index_mut (i:meshlib::EdgeId) -> &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::EdgeId, len:usize, val:meshlib::Color) |
| void | auto_resize_set_2 (i:meshlib::EdgeId, val:meshlib::Color) |
| auto | auto_resize_at (i:meshlib::EdgeId) -> &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::EdgeId |
| auto | back_id () const -> meshlib::EdgeId |
| auto | end_id () const -> meshlib::EdgeId |
| auto | data_mut () -> Option<&mut meshlib::Color > |
| auto | data () const -> Option<&meshlib::Color > |
| void | swap (b:&mut meshlib::EdgeColors) |
| 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::EdgeColors > |
| static auto | construct_from_another (_other:&meshlib::EdgeColors) -> meshlib::Owned< meshlib::EdgeColors > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::EdgeColors > |
| static auto | construct_fill (size:usize, val:&meshlib::Color) -> meshlib::Owned< meshlib::EdgeColors > |
| 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::EdgeColors.
Generated from class MR::EdgeColors. Heap-allocated instances are held in Owned<EdgeColors>.
| void meshlib::EdgeColors::assign | ( | count:usize | , |
| val:&meshlib::Color | ) |
replaces the contents with count copies of val Generated from method MR::EdgeColors::assign.
Calls MR_EdgeColors_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::EdgeColors::assign_from_another | ( | _other:&meshlib::EdgeColors | ) | -> &mut meshlib::EdgeColors |
Generated from method MR::EdgeColors::operator=.
Calls MR_EdgeColors_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::EdgeColors::auto_resize_at | ( | i:meshlib::EdgeId | ) | -> &mut meshlib::Color |
this accessor automatically adjusts the size of the vector Generated from method MR::EdgeColors::autoResizeAt.
Calls MR_EdgeColors_autoResizeAt().
| void meshlib::EdgeColors::auto_resize_set_2 | ( | i:meshlib::EdgeId | , |
| 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::EdgeColors::autoResizeSet.
Calls MR_EdgeColors_autoResizeSet_2().
| void meshlib::EdgeColors::auto_resize_set_3 | ( | pos:meshlib::EdgeId | , |
| 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::EdgeColors::autoResizeSet.
Calls MR_EdgeColors_autoResizeSet_3().
| auto meshlib::EdgeColors::back | ( | ) | const -> &meshlib::Color |
Generated from method MR::EdgeColors::back.
Calls MR_EdgeColors_back(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::back_id | ( | ) | const -> meshlib::EdgeId |
returns the identifier of the back() element Generated from method MR::EdgeColors::backId.
Calls MR_EdgeColors_backId().
| auto meshlib::EdgeColors::back_mut | ( | ) | -> &mut meshlib::Color |
Generated from method MR::EdgeColors::back.
Calls MR_EdgeColors_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::begin_id | ( | ) | const -> meshlib::EdgeId |
returns the identifier of the first element Generated from method MR::EdgeColors::beginId.
Calls MR_EdgeColors_beginId().
| auto meshlib::EdgeColors::capacity | ( | ) | const -> usize |
Generated from method MR::EdgeColors::capacity.
Calls MR_EdgeColors_capacity().
| void meshlib::EdgeColors::clear | ( | ) |
Generated from method MR::EdgeColors::clear.
Calls MR_EdgeColors_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::EdgeColors::EdgeColors.
Calls MR_EdgeColors_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::EdgeColors::EdgeColors.
Calls MR_EdgeColors_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::EdgeColors::EdgeColors.
Calls MR_EdgeColors_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::EdgeColors::data | ( | ) | const -> Option<&meshlib::Color > |
Generated from method MR::EdgeColors::data.
Calls MR_EdgeColors_data(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::data_mut | ( | ) | -> Option<&mut meshlib::Color > |
Generated from method MR::EdgeColors::data.
Calls MR_EdgeColors_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::empty | ( | ) | const -> bool |
Generated from method MR::EdgeColors::empty.
Calls MR_EdgeColors_empty().
| auto meshlib::EdgeColors::end_id | ( | ) | const -> meshlib::EdgeId |
returns backId() + 1 Generated from method MR::EdgeColors::endId.
Calls MR_EdgeColors_endId().
| auto meshlib::EdgeColors::front | ( | ) | const -> &meshlib::Color |
Generated from method MR::EdgeColors::front.
Calls MR_EdgeColors_front(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::front_mut | ( | ) | -> &mut meshlib::Color |
Generated from method MR::EdgeColors::front.
Calls MR_EdgeColors_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::EdgeColors::heapBytes.
Calls MR_EdgeColors_heapBytes().
| auto meshlib::EdgeColors::index | ( | i:meshlib::EdgeId | ) | const -> &meshlib::Color |
Generated from method MR::EdgeColors::operator[].
Calls MR_EdgeColors_index(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::index_mut | ( | i:meshlib::EdgeId | ) | -> &mut meshlib::Color |
Generated from method MR::EdgeColors::operator[].
Calls MR_EdgeColors_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::EdgeColors::max_size | ( | ) | const -> usize |
Generated from method MR::EdgeColors::max_size.
Calls MR_EdgeColors_max_size().
|
static |
creates empty vector
Calls MR_EdgeColors_DefaultConstruct().
| auto meshlib::EdgeColors::op_equal | ( | b:&meshlib::EdgeColors | ) | const -> bool |
Generated from method MR::EdgeColors::operator==.
Calls MR_equal_MR_EdgeColors().
| auto meshlib::EdgeColors::op_not_equal | ( | b:&meshlib::EdgeColors | ) | const -> bool |
Generated from method MR::EdgeColors::operator!=.
Calls MR_not_equal_MR_EdgeColors().
| void meshlib::EdgeColors::pop_back | ( | ) |
Generated from method MR::EdgeColors::pop_back.
Calls MR_EdgeColors_pop_back().
| void meshlib::EdgeColors::push_back_const_mr_color_ref | ( | t:&meshlib::Color | ) |
Generated from method MR::EdgeColors::push_back.
Calls MR_EdgeColors_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::EdgeColors::push_back_mr_color_rvalue_ref | ( | t:&mut meshlib::Color | ) |
Generated from method MR::EdgeColors::push_back.
Calls MR_EdgeColors_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::EdgeColors::reserve | ( | capacity:usize | ) |
Generated from method MR::EdgeColors::reserve.
Calls MR_EdgeColors_reserve().
| void meshlib::EdgeColors::resize_1 | ( | newSize:usize | ) |
Generated from method MR::EdgeColors::resize.
Calls MR_EdgeColors_resize_1().
| void meshlib::EdgeColors::resize_2 | ( | newSize:usize | , |
| t:&meshlib::Color | ) |
Generated from method MR::EdgeColors::resize.
Calls MR_EdgeColors_resize_2().
| void meshlib::EdgeColors::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::EdgeColors::resizeNoInit.
Calls MR_EdgeColors_resizeNoInit().
| void meshlib::EdgeColors::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::EdgeColors::resizeWithReserve.
Calls MR_EdgeColors_resizeWithReserve_1().
| void meshlib::EdgeColors::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::Color | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::EdgeColors::resizeWithReserve.
Calls MR_EdgeColors_resizeWithReserve_2().
| void meshlib::EdgeColors::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::EdgeColors named vec.
Calls MR_EdgeColors_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::EdgeColors::shrink_to_fit | ( | ) |
Generated from method MR::EdgeColors::shrink_to_fit.
Calls MR_EdgeColors_shrink_to_fit().
| auto meshlib::EdgeColors::size | ( | ) | const -> usize |
Generated from method MR::EdgeColors::size.
Calls MR_EdgeColors_size().
| void meshlib::EdgeColors::swap | ( | b:&mut meshlib::EdgeColors | ) |
Generated from method MR::EdgeColors::swap.
Calls MR_EdgeColors_swap().
| auto meshlib::EdgeColors::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::EdgeColors named vec.
Calls MR_EdgeColors_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::EdgeColors::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::EdgeColors named vec.
Calls MR_EdgeColors_GetMutable_vec(). The reference to this object might be preserved as the return value.