Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TexturePerFace > |
| static auto | construct_from_another (_other:&meshlib::TexturePerFace) -> meshlib::Owned< meshlib::TexturePerFace > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::TexturePerFace > |
| static auto | construct_fill (size:usize, val:&meshlib::TextureId) -> meshlib::Owned< meshlib::TexturePerFace > |
| 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::TexturePerFace.
Generated from class MR::TexturePerFace. Heap-allocated instances are held in Owned<TexturePerFace>.
| void meshlib::TexturePerFace::assign | ( | count:usize | , |
| val:&meshlib::TextureId | ) |
replaces the contents with count copies of val Generated from method MR::TexturePerFace::assign.
Calls MR_TexturePerFace_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::TexturePerFace::assign_from_another | ( | _other:&meshlib::TexturePerFace | ) | -> &mut meshlib::TexturePerFace |
Generated from method MR::TexturePerFace::operator=.
Calls MR_TexturePerFace_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::TexturePerFace::auto_resize_at | ( | i:meshlib::FaceId | ) | -> &mut meshlib::TextureId |
this accessor automatically adjusts the size of the vector Generated from method MR::TexturePerFace::autoResizeAt.
Calls MR_TexturePerFace_autoResizeAt().
| void meshlib::TexturePerFace::auto_resize_set_2 | ( | i:meshlib::FaceId | , |
| val:meshlib::TextureId | ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::TexturePerFace::autoResizeSet.
Calls MR_TexturePerFace_autoResizeSet_2().
| void meshlib::TexturePerFace::auto_resize_set_3 | ( | pos:meshlib::FaceId | , |
| len:usize | , | ||
| val:meshlib::TextureId | ) |
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::TexturePerFace::autoResizeSet.
Calls MR_TexturePerFace_autoResizeSet_3().
| auto meshlib::TexturePerFace::back | ( | ) | const -> &meshlib::TextureId |
Generated from method MR::TexturePerFace::back.
Calls MR_TexturePerFace_back(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::back_id | ( | ) | const -> meshlib::FaceId |
returns the identifier of the back() element Generated from method MR::TexturePerFace::backId.
Calls MR_TexturePerFace_backId().
| auto meshlib::TexturePerFace::back_mut | ( | ) | -> &mut meshlib::TextureId |
Generated from method MR::TexturePerFace::back.
Calls MR_TexturePerFace_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::begin_id | ( | ) | const -> meshlib::FaceId |
returns the identifier of the first element Generated from method MR::TexturePerFace::beginId.
Calls MR_TexturePerFace_beginId().
| auto meshlib::TexturePerFace::capacity | ( | ) | const -> usize |
Generated from method MR::TexturePerFace::capacity.
Calls MR_TexturePerFace_capacity().
| void meshlib::TexturePerFace::clear | ( | ) |
Generated from method MR::TexturePerFace::clear.
Calls MR_TexturePerFace_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::TexturePerFace::TexturePerFace.
Calls MR_TexturePerFace_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::TexturePerFace::TexturePerFace.
Calls MR_TexturePerFace_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::TexturePerFace::TexturePerFace.
Calls MR_TexturePerFace_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TexturePerFace::data | ( | ) | const -> Option<&meshlib::TextureId > |
Generated from method MR::TexturePerFace::data.
Calls MR_TexturePerFace_data(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::data_mut | ( | ) | -> Option<&mut meshlib::TextureId > |
Generated from method MR::TexturePerFace::data.
Calls MR_TexturePerFace_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::empty | ( | ) | const -> bool |
Generated from method MR::TexturePerFace::empty.
Calls MR_TexturePerFace_empty().
| auto meshlib::TexturePerFace::end_id | ( | ) | const -> meshlib::FaceId |
returns backId() + 1 Generated from method MR::TexturePerFace::endId.
Calls MR_TexturePerFace_endId().
| auto meshlib::TexturePerFace::front | ( | ) | const -> &meshlib::TextureId |
Generated from method MR::TexturePerFace::front.
Calls MR_TexturePerFace_front(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::front_mut | ( | ) | -> &mut meshlib::TextureId |
Generated from method MR::TexturePerFace::front.
Calls MR_TexturePerFace_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::TexturePerFace::heapBytes.
Calls MR_TexturePerFace_heapBytes().
| auto meshlib::TexturePerFace::index | ( | i:meshlib::FaceId | ) | const -> &meshlib::TextureId |
Generated from method MR::TexturePerFace::operator[].
Calls MR_TexturePerFace_index(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::index_mut | ( | i:meshlib::FaceId | ) | -> &mut meshlib::TextureId |
Generated from method MR::TexturePerFace::operator[].
Calls MR_TexturePerFace_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::TexturePerFace::max_size | ( | ) | const -> usize |
Generated from method MR::TexturePerFace::max_size.
Calls MR_TexturePerFace_max_size().
|
static |
creates empty vector
Calls MR_TexturePerFace_DefaultConstruct().
| auto meshlib::TexturePerFace::op_equal | ( | b:&meshlib::TexturePerFace | ) | const -> bool |
Generated from method MR::TexturePerFace::operator==.
Calls MR_equal_MR_TexturePerFace().
| auto meshlib::TexturePerFace::op_not_equal | ( | b:&meshlib::TexturePerFace | ) | const -> bool |
Generated from method MR::TexturePerFace::operator!=.
Calls MR_not_equal_MR_TexturePerFace().
| void meshlib::TexturePerFace::pop_back | ( | ) |
Generated from method MR::TexturePerFace::pop_back.
Calls MR_TexturePerFace_pop_back().
| void meshlib::TexturePerFace::push_back_const_mr_texture_id_ref | ( | t:&meshlib::TextureId | ) |
Generated from method MR::TexturePerFace::push_back.
Calls MR_TexturePerFace_push_back_const_MR_TextureId_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::TexturePerFace::push_back_mr_texture_id_rvalue_ref | ( | t:&mut meshlib::TextureId | ) |
Generated from method MR::TexturePerFace::push_back.
Calls MR_TexturePerFace_push_back_MR_TextureId_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::TexturePerFace::reserve | ( | capacity:usize | ) |
Generated from method MR::TexturePerFace::reserve.
Calls MR_TexturePerFace_reserve().
| void meshlib::TexturePerFace::resize_1 | ( | newSize:usize | ) |
Generated from method MR::TexturePerFace::resize.
Calls MR_TexturePerFace_resize_1().
| void meshlib::TexturePerFace::resize_2 | ( | newSize:usize | , |
| t:&meshlib::TextureId | ) |
Generated from method MR::TexturePerFace::resize.
Calls MR_TexturePerFace_resize_2().
| void meshlib::TexturePerFace::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::TexturePerFace::resizeNoInit.
Calls MR_TexturePerFace_resizeNoInit().
| void meshlib::TexturePerFace::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::TexturePerFace::resizeWithReserve.
Calls MR_TexturePerFace_resizeWithReserve_1().
| void meshlib::TexturePerFace::resize_with_reserve_2 | ( | newSize:usize | , |
| value:&meshlib::TextureId | ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::TexturePerFace::resizeWithReserve.
Calls MR_TexturePerFace_resizeWithReserve_2().
| void meshlib::TexturePerFace::set_vec | ( | value:&meshlib::std_vector_MR_TextureId_MR_Allocator_MR_TextureId | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::TexturePerFace named vec.
Calls MR_TexturePerFace_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::TexturePerFace::shrink_to_fit | ( | ) |
Generated from method MR::TexturePerFace::shrink_to_fit.
Calls MR_TexturePerFace_shrink_to_fit().
| auto meshlib::TexturePerFace::size | ( | ) | const -> usize |
Generated from method MR::TexturePerFace::size.
Calls MR_TexturePerFace_size().
| void meshlib::TexturePerFace::swap | ( | b:&mut meshlib::TexturePerFace | ) |
Generated from method MR::TexturePerFace::swap.
Calls MR_TexturePerFace_swap().
| auto meshlib::TexturePerFace::vec | ( | ) | const -> &meshlib::std_vector_MR_TextureId_MR_Allocator_MR_TextureId |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::TexturePerFace named vec.
Calls MR_TexturePerFace_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::TexturePerFace::vec_mut | ( | ) | -> &mut meshlib::std_vector_MR_TextureId_MR_Allocator_MR_TextureId |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::TexturePerFace named vec.
Calls MR_TexturePerFace_GetMutable_vec(). The reference to this object might be preserved as the return value.