Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertScalars) -> &mut meshlib::VertScalars |
| void | assign (count:usize, val:&f32) |
| auto | op_equal (b:&meshlib::VertScalars) const -> bool |
| auto | op_not_equal (b:&meshlib::VertScalars) 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:&f32) |
| auto | capacity () const -> usize |
| void | reserve (capacity:usize) |
| void | shrink_to_fit () |
| auto | index (i:meshlib::VertId) const -> &f32 |
| auto | index_mut (i:meshlib::VertId) -> &mut f32 |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&f32) |
| void | auto_resize_set_3 (pos:meshlib::VertId, len:usize, val:f32) |
| void | auto_resize_set_2 (i:meshlib::VertId, val:f32) |
| auto | auto_resize_at (i:meshlib::VertId) -> &mut f32 |
| void | push_back_const_float_ref (t:&f32) |
| void | push_back_float_rvalue_ref (t:&mut f32) |
| void | pop_back () |
| auto | front () const -> &f32 |
| auto | front_mut () -> &mut f32 |
| auto | back () const -> &f32 |
| auto | back_mut () -> &mut f32 |
| auto | begin_id () const -> meshlib::VertId |
| auto | back_id () const -> meshlib::VertId |
| auto | end_id () const -> meshlib::VertId |
| auto | data_mut () -> Option<&mut f32 > |
| auto | data () const -> Option<&f32 > |
| void | swap (b:&mut meshlib::VertScalars) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_float_MR_Allocator_float |
| auto | vec_mut () -> &mut meshlib::std_vector_float_MR_Allocator_float |
| void | set_vec (value:&meshlib::std_vector_float_MR_Allocator_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertScalars > |
| static auto | construct_from_another (_other:&meshlib::VertScalars) -> meshlib::Owned< meshlib::VertScalars > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::VertScalars > |
| static auto | construct_fill (size:usize, val:&f32) -> meshlib::Owned< meshlib::VertScalars > |
| 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::VertScalars.
Generated from class MR::VertScalars. Heap-allocated instances are held in Owned<VertScalars>.
| void meshlib::VertScalars::assign | ( | count:usize | , |
| val:& | f32 ) |
replaces the contents with count copies of val Generated from method MR::VertScalars::assign.
Calls MR_VertScalars_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::VertScalars::assign_from_another | ( | _other:&meshlib::VertScalars | ) | -> &mut meshlib::VertScalars |
Generated from method MR::VertScalars::operator=.
Calls MR_VertScalars_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VertScalars::auto_resize_at | ( | i:meshlib::VertId | ) | -> &mut f32 |
this accessor automatically adjusts the size of the vector Generated from method MR::VertScalars::autoResizeAt.
Calls MR_VertScalars_autoResizeAt().
| void meshlib::VertScalars::auto_resize_set_2 | ( | i:meshlib::VertId | , |
| val:f32 | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::VertScalars::autoResizeSet.
Calls MR_VertScalars_autoResizeSet_2().
| void meshlib::VertScalars::auto_resize_set_3 | ( | pos:meshlib::VertId | , |
| len:usize | , | ||
| val:f32 | ) |
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::VertScalars::autoResizeSet.
Calls MR_VertScalars_autoResizeSet_3().
| auto meshlib::VertScalars::back | ( | ) | const -> &f32 |
Generated from method MR::VertScalars::back.
Calls MR_VertScalars_back(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::back_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the back() element Generated from method MR::VertScalars::backId.
Calls MR_VertScalars_backId().
| auto meshlib::VertScalars::back_mut | ( | ) | -> &mut f32 |
Generated from method MR::VertScalars::back.
Calls MR_VertScalars_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::begin_id | ( | ) | const -> meshlib::VertId |
returns the identifier of the first element Generated from method MR::VertScalars::beginId.
Calls MR_VertScalars_beginId().
| auto meshlib::VertScalars::capacity | ( | ) | const -> usize |
Generated from method MR::VertScalars::capacity.
Calls MR_VertScalars_capacity().
| void meshlib::VertScalars::clear | ( | ) |
Generated from method MR::VertScalars::clear.
Calls MR_VertScalars_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::VertScalars::VertScalars.
Calls MR_VertScalars_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::VertScalars::VertScalars.
Calls MR_VertScalars_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::VertScalars::VertScalars.
Calls MR_VertScalars_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VertScalars::data | ( | ) | const -> Option<&f32 > |
Generated from method MR::VertScalars::data.
Calls MR_VertScalars_data(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::data_mut | ( | ) | -> Option<&mut f32 > |
Generated from method MR::VertScalars::data.
Calls MR_VertScalars_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::empty | ( | ) | const -> bool |
Generated from method MR::VertScalars::empty.
Calls MR_VertScalars_empty().
| auto meshlib::VertScalars::end_id | ( | ) | const -> meshlib::VertId |
returns backId() + 1 Generated from method MR::VertScalars::endId.
Calls MR_VertScalars_endId().
| auto meshlib::VertScalars::front | ( | ) | const -> &f32 |
Generated from method MR::VertScalars::front.
Calls MR_VertScalars_front(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::front_mut | ( | ) | -> &mut f32 |
Generated from method MR::VertScalars::front.
Calls MR_VertScalars_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::VertScalars::heapBytes.
Calls MR_VertScalars_heapBytes().
| auto meshlib::VertScalars::index | ( | i:meshlib::VertId | ) | const -> &f32 |
Generated from method MR::VertScalars::operator[].
Calls MR_VertScalars_index(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::index_mut | ( | i:meshlib::VertId | ) | -> &mut f32 |
Generated from method MR::VertScalars::operator[].
Calls MR_VertScalars_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VertScalars::max_size | ( | ) | const -> usize |
Generated from method MR::VertScalars::max_size.
Calls MR_VertScalars_max_size().
|
static |
creates empty vector
Calls MR_VertScalars_DefaultConstruct().
| auto meshlib::VertScalars::op_equal | ( | b:&meshlib::VertScalars | ) | const -> bool |
Generated from method MR::VertScalars::operator==.
Calls MR_equal_MR_VertScalars().
| auto meshlib::VertScalars::op_not_equal | ( | b:&meshlib::VertScalars | ) | const -> bool |
Generated from method MR::VertScalars::operator!=.
Calls MR_not_equal_MR_VertScalars().
| void meshlib::VertScalars::pop_back | ( | ) |
Generated from method MR::VertScalars::pop_back.
Calls MR_VertScalars_pop_back().
| void meshlib::VertScalars::push_back_const_float_ref | ( | t:& | f32 | ) |
Generated from method MR::VertScalars::push_back.
Calls MR_VertScalars_push_back_const_float_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertScalars::push_back_float_rvalue_ref | ( | t:&mut | f32 | ) |
Generated from method MR::VertScalars::push_back.
Calls MR_VertScalars_push_back_float_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VertScalars::reserve | ( | capacity:usize | ) |
Generated from method MR::VertScalars::reserve.
Calls MR_VertScalars_reserve().
| void meshlib::VertScalars::resize_1 | ( | newSize:usize | ) |
Generated from method MR::VertScalars::resize.
Calls MR_VertScalars_resize_1().
| void meshlib::VertScalars::resize_2 | ( | newSize:usize | , |
| t:& | f32 ) |
Generated from method MR::VertScalars::resize.
Calls MR_VertScalars_resize_2().
| void meshlib::VertScalars::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::VertScalars::resizeWithReserve.
Calls MR_VertScalars_resizeWithReserve_1().
| void meshlib::VertScalars::resize_with_reserve_2 | ( | newSize:usize | , |
| value:& | f32 ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::VertScalars::resizeWithReserve.
Calls MR_VertScalars_resizeWithReserve_2().
| void meshlib::VertScalars::set_vec | ( | value:&meshlib::std_vector_float_MR_Allocator_float | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::VertScalars named vec.
Calls MR_VertScalars_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::VertScalars::shrink_to_fit | ( | ) |
Generated from method MR::VertScalars::shrink_to_fit.
Calls MR_VertScalars_shrink_to_fit().
| auto meshlib::VertScalars::size | ( | ) | const -> usize |
Generated from method MR::VertScalars::size.
Calls MR_VertScalars_size().
| void meshlib::VertScalars::swap | ( | b:&mut meshlib::VertScalars | ) |
Generated from method MR::VertScalars::swap.
Calls MR_VertScalars_swap().
| auto meshlib::VertScalars::vec | ( | ) | const -> &meshlib::std_vector_float_MR_Allocator_float |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::VertScalars named vec.
Calls MR_VertScalars_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::VertScalars::vec_mut | ( | ) | -> &mut meshlib::std_vector_float_MR_Allocator_float |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::VertScalars named vec.
Calls MR_VertScalars_GetMutable_vec(). The reference to this object might be preserved as the return value.