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_uint64_t >) -> &mut meshlib::Buffer_uint64_t |
| auto | capacity () const -> usize |
| auto | size () const -> usize |
| auto | empty () const -> bool |
| void | clear () |
| void | resize (newSize:usize) |
| auto | index (i:usize) const -> &u64 |
| auto | index_mut (i:usize) -> &mut u64 |
| auto | data_mut () -> Option<&mut u64 > |
| auto | data () const -> Option<&mut u64 > |
| auto | begin_id () const -> usize |
| auto | back_id () const -> usize |
| auto | end_id () const -> usize |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Buffer_uint64_t > |
| static auto | construct_from_another (_other:meshlib::Owned< meshlib::Buffer_uint64_t >) -> meshlib::Owned< meshlib::Buffer_uint64_t > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::Buffer_uint64_t > |
| 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<uint64_t>.
Generated from class MR::Buffer<uint64_t>. Heap-allocated instances are held in Owned<Buffer_uint64_t>.
| auto meshlib::Buffer_uint64_t::assign_from_another | ( | _other:meshlib::Owned< meshlib::Buffer_uint64_t > | ) | -> &mut meshlib::Buffer_uint64_t |
Generated from method MR::Buffer<uint64_t>::operator=.
Calls MR_Buffer_uint64_t_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Buffer_uint64_t::back_id | ( | ) | const -> usize |
returns the identifier of the back() element Generated from method MR::Buffer<uint64_t>::backId.
Calls MR_Buffer_uint64_t_backId().
| auto meshlib::Buffer_uint64_t::begin_id | ( | ) | const -> usize |
returns the identifier of the first element Generated from method MR::Buffer<uint64_t>::beginId.
Calls MR_Buffer_uint64_t_beginId().
| auto meshlib::Buffer_uint64_t::capacity | ( | ) | const -> usize |
Generated from method MR::Buffer<uint64_t>::capacity.
Calls MR_Buffer_uint64_t_capacity().
| void meshlib::Buffer_uint64_t::clear | ( | ) |
Generated from method MR::Buffer<uint64_t>::clear.
Calls MR_Buffer_uint64_t_clear().
|
static |
Generated from constructor MR::Buffer<uint64_t>::Buffer.
Calls MR_Buffer_uint64_t_Construct(). The reference to the parameter size might be preserved in the constructed object.
|
static |
Generated from constructor MR::Buffer<uint64_t>::Buffer.
Calls MR_Buffer_uint64_t_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Buffer_uint64_t::data | ( | ) | const -> Option<&mut u64 > |
Generated from method MR::Buffer<uint64_t>::data.
Calls MR_Buffer_uint64_t_data(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_uint64_t::data_mut | ( | ) | -> Option<&mut u64 > |
Generated from method MR::Buffer<uint64_t>::data.
Calls MR_Buffer_uint64_t_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_uint64_t::empty | ( | ) | const -> bool |
Generated from method MR::Buffer<uint64_t>::empty.
Calls MR_Buffer_uint64_t_empty().
| auto meshlib::Buffer_uint64_t::end_id | ( | ) | const -> usize |
returns backId() + 1 Generated from method MR::Buffer<uint64_t>::endId.
Calls MR_Buffer_uint64_t_endId().
| auto meshlib::Buffer_uint64_t::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::Buffer<uint64_t>::heapBytes.
Calls MR_Buffer_uint64_t_heapBytes().
| auto meshlib::Buffer_uint64_t::index | ( | i:usize | ) | const -> &u64 |
Generated from method MR::Buffer<uint64_t>::operator[].
Calls MR_Buffer_uint64_t_index(). The reference to this object might be preserved in the return value.
| auto meshlib::Buffer_uint64_t::index_mut | ( | i:usize | ) | -> &mut u64 |
Generated from method MR::Buffer<uint64_t>::operator[].
Calls MR_Buffer_uint64_t_index_mut(). The reference to this object might be preserved in the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Buffer_uint64_t_DefaultConstruct().
| void meshlib::Buffer_uint64_t::resize | ( | newSize:usize | ) |
Generated from method MR::Buffer<uint64_t>::resize.
Calls MR_Buffer_uint64_t_resize().
| auto meshlib::Buffer_uint64_t::size | ( | ) | const -> usize |
Generated from method MR::Buffer<uint64_t>::size.
Calls MR_Buffer_uint64_t_size().