std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods More...
Public Member Functions | |
| auto | assign_from_another (_other:meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId >) -> &mut meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId |
| auto | capacity () const -> usize |
| auto | size () const -> usize |
| auto | empty () const -> bool |
| void | clear () |
| void | resize (newSize:usize) |
| auto | index (i:meshlib::GraphEdgeId) const -> &meshlib::NoDefInit_MR_GraphEdgeId |
| auto | index_mut (i:meshlib::GraphEdgeId) -> &mut meshlib::NoDefInit_MR_GraphEdgeId |
| auto | data_mut () -> Option<&mut meshlib::NoDefInit_MR_GraphEdgeId > |
| auto | data () const -> Option<&mut meshlib::NoDefInit_MR_GraphEdgeId > |
| auto | begin_id () const -> meshlib::GraphEdgeId |
| auto | back_id () const -> meshlib::GraphEdgeId |
| auto | end_id () const -> meshlib::GraphEdgeId |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId > |
| static auto | construct_from_another (_other:meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId >) -> meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods
| V | type of stored elements |
| I | type of index (shall be convertible to size_t) |
Generated from class MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>.
Generated from class MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>. Heap-allocated instances are held in Owned<Buffer_MR_GraphEdgeId_MR_GraphEdgeId>.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::assign_from_another | ( | _other:meshlib::Owned< meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId > | ) | -> &mut meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::operator=.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::back_id | ( | ) | const -> meshlib::GraphEdgeId |
returns the identifier of the back() element Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::backId.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_backId().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::begin_id | ( | ) | const -> meshlib::GraphEdgeId |
returns the identifier of the first element Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::beginId.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_beginId().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::capacity | ( | ) | const -> usize |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::capacity.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_capacity().
| void meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::clear | ( | ) |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::clear.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_clear().
|
static |
Generated from constructor MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::Buffer.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_Construct(). The reference to the parameter size might be preserved in the constructed object.
|
static |
Generated from constructor MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::Buffer.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::data | ( | ) | const -> Option<&mut meshlib::NoDefInit_MR_GraphEdgeId > |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::data.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::data_mut | ( | ) | -> Option<&mut meshlib::NoDefInit_MR_GraphEdgeId > |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::data.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::empty | ( | ) | const -> bool |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::empty.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_empty().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::end_id | ( | ) | const -> meshlib::GraphEdgeId |
returns backId() + 1 Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::endId.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_endId().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::heapBytes.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_heapBytes().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::index | ( | i:meshlib::GraphEdgeId | ) | const -> &meshlib::NoDefInit_MR_GraphEdgeId |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::operator[].
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::index_mut | ( | i:meshlib::GraphEdgeId | ) | -> &mut meshlib::NoDefInit_MR_GraphEdgeId |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::operator[].
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_index_mut(). The reference to this object might be preserved in the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_DefaultConstruct().
| void meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::resize | ( | newSize:usize | ) |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::resize.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_resize().
| auto meshlib::Buffer_MR_GraphEdgeId_MR_GraphEdgeId::size | ( | ) | const -> usize |
Generated from method MR::Buffer<MR::GraphEdgeId, MR::GraphEdgeId>::size.
Calls MR_Buffer_MR_GraphEdgeId_MR_GraphEdgeId_size().