MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::Buffer_MR_UndirectedEdgeId Struct Reference

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...

Inheritance diagram for meshlib::Buffer_MR_UndirectedEdgeId:

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >) -> &mut meshlib::Buffer_MR_UndirectedEdgeId
auto capacity () const -> usize
auto size () const -> usize
auto empty () const -> bool
void clear ()
void resize (newSize:usize)
auto index (i:usize) const -> &meshlib::NoDefInit_MR_UndirectedEdgeId
auto index_mut (i:usize) -> &mut meshlib::NoDefInit_MR_UndirectedEdgeId
auto data_mut () -> Option<&mut meshlib::NoDefInit_MR_UndirectedEdgeId >
auto data () const -> Option<&mut meshlib::NoDefInit_MR_UndirectedEdgeId >
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_MR_UndirectedEdgeId >
static auto construct_from_another (_other:meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >) -> meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >
static auto construct (size:usize) -> meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

std::vector<V>-like container that is 1) resized without initialization of its elements, 2) much simplified: no push_back and many other methods

Template Parameters
Vtype of stored elements
Itype of index (shall be convertible to size_t)

Generated from class MR::Buffer<MR::UndirectedEdgeId>.

Generated from class MR::Buffer<MR::UndirectedEdgeId>. Heap-allocated instances are held in Owned<Buffer_MR_UndirectedEdgeId>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::Buffer_MR_UndirectedEdgeId::assign_from_another ( _other:meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId > ) -> &mut meshlib::Buffer_MR_UndirectedEdgeId

Generated from method MR::Buffer<MR::UndirectedEdgeId>::operator=.

Calls MR_Buffer_MR_UndirectedEdgeId_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ back_id()

auto meshlib::Buffer_MR_UndirectedEdgeId::back_id ( ) const -> usize

returns the identifier of the back() element Generated from method MR::Buffer<MR::UndirectedEdgeId>::backId.

Calls MR_Buffer_MR_UndirectedEdgeId_backId().

◆ begin_id()

auto meshlib::Buffer_MR_UndirectedEdgeId::begin_id ( ) const -> usize

returns the identifier of the first element Generated from method MR::Buffer<MR::UndirectedEdgeId>::beginId.

Calls MR_Buffer_MR_UndirectedEdgeId_beginId().

◆ capacity()

auto meshlib::Buffer_MR_UndirectedEdgeId::capacity ( ) const -> usize

Generated from method MR::Buffer<MR::UndirectedEdgeId>::capacity.

Calls MR_Buffer_MR_UndirectedEdgeId_capacity().

◆ clear()

void meshlib::Buffer_MR_UndirectedEdgeId::clear ( )

Generated from method MR::Buffer<MR::UndirectedEdgeId>::clear.

Calls MR_Buffer_MR_UndirectedEdgeId_clear().

◆ construct()

auto meshlib::Buffer_MR_UndirectedEdgeId::construct ( size:usize ) -> meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >
static

Generated from constructor MR::Buffer<MR::UndirectedEdgeId>::Buffer.

Calls MR_Buffer_MR_UndirectedEdgeId_Construct(). The reference to the parameter size might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::Buffer_MR_UndirectedEdgeId::construct_from_another ( _other:meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId > ) -> meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >
static

Generated from constructor MR::Buffer<MR::UndirectedEdgeId>::Buffer.

Calls MR_Buffer_MR_UndirectedEdgeId_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ data()

auto meshlib::Buffer_MR_UndirectedEdgeId::data ( ) const -> Option<&mut meshlib::NoDefInit_MR_UndirectedEdgeId >

Generated from method MR::Buffer<MR::UndirectedEdgeId>::data.

Calls MR_Buffer_MR_UndirectedEdgeId_data(). The reference to this object might be preserved in the return value.

◆ data_mut()

auto meshlib::Buffer_MR_UndirectedEdgeId::data_mut ( ) -> Option<&mut meshlib::NoDefInit_MR_UndirectedEdgeId >

Generated from method MR::Buffer<MR::UndirectedEdgeId>::data.

Calls MR_Buffer_MR_UndirectedEdgeId_data_mut(). The reference to this object might be preserved in the return value.

◆ empty()

auto meshlib::Buffer_MR_UndirectedEdgeId::empty ( ) const -> bool

Generated from method MR::Buffer<MR::UndirectedEdgeId>::empty.

Calls MR_Buffer_MR_UndirectedEdgeId_empty().

◆ end_id()

auto meshlib::Buffer_MR_UndirectedEdgeId::end_id ( ) const -> usize

returns backId() + 1 Generated from method MR::Buffer<MR::UndirectedEdgeId>::endId.

Calls MR_Buffer_MR_UndirectedEdgeId_endId().

◆ heap_bytes()

auto meshlib::Buffer_MR_UndirectedEdgeId::heap_bytes ( ) const -> usize

returns the amount of memory this object occupies on heap Generated from method MR::Buffer<MR::UndirectedEdgeId>::heapBytes.

Calls MR_Buffer_MR_UndirectedEdgeId_heapBytes().

◆ index()

auto meshlib::Buffer_MR_UndirectedEdgeId::index ( i:usize ) const -> &meshlib::NoDefInit_MR_UndirectedEdgeId

Generated from method MR::Buffer<MR::UndirectedEdgeId>::operator[].

Calls MR_Buffer_MR_UndirectedEdgeId_index(). The reference to this object might be preserved in the return value.

◆ index_mut()

auto meshlib::Buffer_MR_UndirectedEdgeId::index_mut ( i:usize ) -> &mut meshlib::NoDefInit_MR_UndirectedEdgeId

Generated from method MR::Buffer<MR::UndirectedEdgeId>::operator[].

Calls MR_Buffer_MR_UndirectedEdgeId_index_mut(). The reference to this object might be preserved in the return value.

◆ new()

auto meshlib::Buffer_MR_UndirectedEdgeId::new ( ) -> meshlib::Owned< meshlib::Buffer_MR_UndirectedEdgeId >
static

Constructs an empty (default-constructed) instance.

Calls MR_Buffer_MR_UndirectedEdgeId_DefaultConstruct().

◆ resize()

void meshlib::Buffer_MR_UndirectedEdgeId::resize ( newSize:usize )

Generated from method MR::Buffer<MR::UndirectedEdgeId>::resize.

Calls MR_Buffer_MR_UndirectedEdgeId_resize().

◆ size()

auto meshlib::Buffer_MR_UndirectedEdgeId::size ( ) const -> usize

Generated from method MR::Buffer<MR::UndirectedEdgeId>::size.

Calls MR_Buffer_MR_UndirectedEdgeId_size().


The documentation for this struct was generated from the following file: