MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId Struct Reference
Inheritance diagram for meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId:

Public Member Functions

auto assign_from_another (_other:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId) -> &mut meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId
void assign (count:usize, val:&meshlib::Graph_EndVertices)
auto op_equal (b:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId) const -> bool
auto op_not_equal (b:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId) 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:&meshlib::Graph_EndVertices)
auto capacity () const -> usize
void reserve (capacity:usize)
void shrink_to_fit ()
auto index (i:meshlib::GraphEdgeId) const -> &meshlib::Graph_EndVertices
auto index_mut (i:meshlib::GraphEdgeId) -> &mut meshlib::Graph_EndVertices
void resize_with_reserve_1 (newSize:usize)
void resize_with_reserve_2 (newSize:usize, value:&meshlib::Graph_EndVertices)
void auto_resize_set_3 (pos:meshlib::GraphEdgeId, len:usize, val:&meshlib::Graph_EndVertices)
void auto_resize_set_2 (i:meshlib::GraphEdgeId, val:&meshlib::Graph_EndVertices)
auto auto_resize_at (i:meshlib::GraphEdgeId) -> &mut meshlib::Graph_EndVertices
void push_back_const_mr_graph_end_vertices_ref (t:&meshlib::Graph_EndVertices)
void push_back_mr_graph_end_vertices_rvalue_ref (t:&mut meshlib::Graph_EndVertices)
void pop_back ()
auto front () const -> &meshlib::Graph_EndVertices
auto front_mut () -> &mut meshlib::Graph_EndVertices
auto back () const -> &meshlib::Graph_EndVertices
auto back_mut () -> &mut meshlib::Graph_EndVertices
auto begin_id () const -> meshlib::GraphEdgeId
auto back_id () const -> meshlib::GraphEdgeId
auto end_id () const -> meshlib::GraphEdgeId
auto data_mut () -> Option<&mut meshlib::Graph_EndVertices >
auto data () const -> Option<&meshlib::Graph_EndVertices >
void swap (b:&mut meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId)
auto heap_bytes () const -> usize
auto vec () const -> &meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices
auto vec_mut () -> &mut meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices
void set_vec (value:&meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId >
static auto construct_from_another (_other:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId) -> meshlib::Owned< meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId >
static auto construct (size:usize) -> meshlib::Owned< meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId >
static auto construct_fill (size:usize, val:&meshlib::Graph_EndVertices) -> meshlib::Owned< meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId >
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

Detailed Description

Vector<T> is indexed by size_t Generated from class MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>.

Generated from class MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>. Heap-allocated instances are held in Owned<Vector_MR_Graph_EndVertices_MR_GraphEdgeId>.

Member Function Documentation

◆ assign()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::assign ( count:usize ,
val:&meshlib::Graph_EndVertices  )

replaces the contents with count copies of val Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::assign.

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

◆ assign_from_another()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::assign_from_another ( _other:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId ) -> &mut meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::operator=.

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

◆ auto_resize_at()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::auto_resize_at ( i:meshlib::GraphEdgeId ) -> &mut meshlib::Graph_EndVertices

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::autoResizeAt.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::auto_resize_set_2 ( i:meshlib::GraphEdgeId ,
val:&meshlib::Graph_EndVertices  )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::autoResizeSet.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::auto_resize_set_3 ( pos:meshlib::GraphEdgeId ,
len:usize ,
val:&meshlib::Graph_EndVertices  )

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::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::autoResizeSet.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_autoResizeSet_3().

◆ back()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::back ( ) const -> &meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::back.

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

◆ back_id()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::back_id ( ) const -> meshlib::GraphEdgeId

returns the identifier of the back() element Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::backId.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_backId().

◆ back_mut()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::back_mut ( ) -> &mut meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::back.

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

◆ begin_id()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::begin_id ( ) const -> meshlib::GraphEdgeId

returns the identifier of the first element Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::beginId.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_beginId().

◆ capacity()

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

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::capacity.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_capacity().

◆ clear()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::clear ( )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::clear.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_clear().

◆ construct()

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

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::Vector.

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

◆ construct_fill()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::construct_fill ( size:usize ,
val:&meshlib::Graph_EndVertices  ) -> meshlib::Owned< meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId >
static

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::Vector.

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

◆ construct_from_another()

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

Generated from constructor MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::Vector.

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

◆ data()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::data ( ) const -> Option<&meshlib::Graph_EndVertices >

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::data.

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

◆ data_mut()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::data_mut ( ) -> Option<&mut meshlib::Graph_EndVertices >

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::data.

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

◆ empty()

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

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::empty.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_empty().

◆ end_id()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::end_id ( ) const -> meshlib::GraphEdgeId

returns backId() + 1 Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::endId.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_endId().

◆ front()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::front ( ) const -> &meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::front.

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

◆ front_mut()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::front_mut ( ) -> &mut meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::front.

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

◆ heap_bytes()

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

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::heapBytes.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_heapBytes().

◆ index()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::index ( i:meshlib::GraphEdgeId ) const -> &meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::operator[].

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

◆ index_mut()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::index_mut ( i:meshlib::GraphEdgeId ) -> &mut meshlib::Graph_EndVertices

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::operator[].

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

◆ max_size()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::max_size ( ) const -> usize

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::max_size.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_max_size().

◆ new()

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

creates empty vector

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_DefaultConstruct().

◆ op_equal()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::op_equal ( b:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId ) const -> bool

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::operator==.

Calls MR_equal_MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId().

◆ op_not_equal()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::op_not_equal ( b:&meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId ) const -> bool

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId().

◆ pop_back()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::pop_back ( )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::pop_back.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_pop_back().

◆ push_back_const_mr_graph_end_vertices_ref()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::push_back_const_mr_graph_end_vertices_ref ( t:&meshlib::Graph_EndVertices )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::push_back.

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

◆ push_back_mr_graph_end_vertices_rvalue_ref()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::push_back_mr_graph_end_vertices_rvalue_ref ( t:&mut meshlib::Graph_EndVertices )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::push_back.

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

◆ reserve()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::reserve ( capacity:usize )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::reserve.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_reserve().

◆ resize_1()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::resize_1 ( newSize:usize )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::resize.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_resize_1().

◆ resize_2()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::resize_2 ( newSize:usize ,
t:&meshlib::Graph_EndVertices  )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::resize.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_resize_2().

◆ resize_with_reserve_1()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::resize_with_reserve_1 ( newSize:usize )

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::resizeWithReserve.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::resize_with_reserve_2 ( newSize:usize ,
value:&meshlib::Graph_EndVertices  )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::resizeWithReserve.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::set_vec ( value:&meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices )

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId> named vec.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.

◆ shrink_to_fit()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::shrink_to_fit ( )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::shrink_to_fit.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_shrink_to_fit().

◆ size()

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

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::size.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_size().

◆ swap()

void meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::swap ( b:&mut meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId )

Generated from method MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId>::swap.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_swap().

◆ vec()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::vec ( ) const -> &meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId> named vec.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_Get_vec(). The reference to this object might be preserved as the return value.

◆ vec_mut()

auto meshlib::Vector_MR_Graph_EndVertices_MR_GraphEdgeId::vec_mut ( ) -> &mut meshlib::std_vector_MR_Graph_EndVertices_MR_Allocator_MR_Graph_EndVertices

The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::Vector<MR::Graph::EndVertices, MR::GraphEdgeId> named vec.

Calls MR_Vector_MR_Graph_EndVertices_MR_GraphEdgeId_GetMutable_vec(). The reference to this object might be preserved as the return value.


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