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

Public Member Functions

auto assign_from_another (_other:&meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId) -> &mut meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId
void assign (count:usize, val:&meshlib::WatershedGraph_BasinInfo)
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::WatershedGraph_BasinInfo)
auto capacity () const -> usize
void reserve (capacity:usize)
void shrink_to_fit ()
auto index (i:meshlib::GraphVertId) const -> &meshlib::WatershedGraph_BasinInfo
auto index_mut (i:meshlib::GraphVertId) -> &mut meshlib::WatershedGraph_BasinInfo
void resize_with_reserve_1 (newSize:usize)
void resize_with_reserve_2 (newSize:usize, value:&meshlib::WatershedGraph_BasinInfo)
void auto_resize_set_3 (pos:meshlib::GraphVertId, len:usize, val:&meshlib::WatershedGraph_BasinInfo)
void auto_resize_set_2 (i:meshlib::GraphVertId, val:&meshlib::WatershedGraph_BasinInfo)
auto auto_resize_at (i:meshlib::GraphVertId) -> &mut meshlib::WatershedGraph_BasinInfo
void push_back_const_mr_watershed_graph_basin_info_ref (t:&meshlib::WatershedGraph_BasinInfo)
void push_back_mr_watershed_graph_basin_info_rvalue_ref (t:&mut meshlib::WatershedGraph_BasinInfo)
void pop_back ()
auto front () const -> &meshlib::WatershedGraph_BasinInfo
auto front_mut () -> &mut meshlib::WatershedGraph_BasinInfo
auto back () const -> &meshlib::WatershedGraph_BasinInfo
auto back_mut () -> &mut meshlib::WatershedGraph_BasinInfo
auto begin_id () const -> meshlib::GraphVertId
auto back_id () const -> meshlib::GraphVertId
auto end_id () const -> meshlib::GraphVertId
auto data_mut () -> Option<&mut meshlib::WatershedGraph_BasinInfo >
auto data () const -> Option<&meshlib::WatershedGraph_BasinInfo >
void swap (b:&mut meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId)
auto heap_bytes () const -> usize
auto vec () const -> &meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo
auto vec_mut () -> &mut meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo
void set_vec (value:&meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId >
static auto construct_from_another (_other:&meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId) -> meshlib::Owned< meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId >
static auto construct (size:usize) -> meshlib::Owned< meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId >
static auto construct_fill (size:usize, val:&meshlib::WatershedGraph_BasinInfo) -> meshlib::Owned< meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId >
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::WatershedGraph::BasinInfo, MR::GraphVertId>.

Generated from class MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>. Heap-allocated instances are held in Owned<Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId>.

Member Function Documentation

◆ assign()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::assign ( count:usize ,
val:&meshlib::WatershedGraph_BasinInfo  )

replaces the contents with count copies of val Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::assign.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_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_WatershedGraph_BasinInfo_MR_GraphVertId::assign_from_another ( _other:&meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId ) -> &mut meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::operator=.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_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_WatershedGraph_BasinInfo_MR_GraphVertId::auto_resize_at ( i:meshlib::GraphVertId ) -> &mut meshlib::WatershedGraph_BasinInfo

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::autoResizeAt.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::auto_resize_set_2 ( i:meshlib::GraphVertId ,
val:&meshlib::WatershedGraph_BasinInfo  )

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

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::auto_resize_set_3 ( pos:meshlib::GraphVertId ,
len:usize ,
val:&meshlib::WatershedGraph_BasinInfo  )

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::WatershedGraph::BasinInfo, MR::GraphVertId>::autoResizeSet.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_autoResizeSet_3().

◆ back()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::back ( ) const -> &meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::back.

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

◆ back_id()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::back_id ( ) const -> meshlib::GraphVertId

returns the identifier of the back() element Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::backId.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_backId().

◆ back_mut()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::back_mut ( ) -> &mut meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::back.

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

◆ begin_id()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::begin_id ( ) const -> meshlib::GraphVertId

returns the identifier of the first element Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::beginId.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_beginId().

◆ capacity()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::capacity.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_capacity().

◆ clear()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::clear ( )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::clear.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_clear().

◆ construct()

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

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::Vector.

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

◆ construct_fill()

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

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::Vector.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_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_WatershedGraph_BasinInfo_MR_GraphVertId::construct_from_another ( _other:&meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId ) -> meshlib::Owned< meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId >
static

Generated from constructor MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::Vector.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_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_WatershedGraph_BasinInfo_MR_GraphVertId::data ( ) const -> Option<&meshlib::WatershedGraph_BasinInfo >

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::data.

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

◆ data_mut()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::data_mut ( ) -> Option<&mut meshlib::WatershedGraph_BasinInfo >

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::data.

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

◆ empty()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::empty.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_empty().

◆ end_id()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::end_id ( ) const -> meshlib::GraphVertId

returns backId() + 1 Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::endId.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_endId().

◆ front()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::front ( ) const -> &meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::front.

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

◆ front_mut()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::front_mut ( ) -> &mut meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::front.

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

◆ heap_bytes()

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

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::heapBytes.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_heapBytes().

◆ index()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::index ( i:meshlib::GraphVertId ) const -> &meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::operator[].

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

◆ index_mut()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::index_mut ( i:meshlib::GraphVertId ) -> &mut meshlib::WatershedGraph_BasinInfo

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::operator[].

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

◆ max_size()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::max_size.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_max_size().

◆ new()

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

creates empty vector

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_DefaultConstruct().

◆ pop_back()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::pop_back ( )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::pop_back.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_pop_back().

◆ push_back_const_mr_watershed_graph_basin_info_ref()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::push_back_const_mr_watershed_graph_basin_info_ref ( t:&meshlib::WatershedGraph_BasinInfo )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::push_back.

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

◆ push_back_mr_watershed_graph_basin_info_rvalue_ref()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::push_back_mr_watershed_graph_basin_info_rvalue_ref ( t:&mut meshlib::WatershedGraph_BasinInfo )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::push_back.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_push_back_MR_WatershedGraph_BasinInfo_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_WatershedGraph_BasinInfo_MR_GraphVertId::reserve ( capacity:usize )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::reserve.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_reserve().

◆ resize_1()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::resize.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_resize_1().

◆ resize_2()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::resize_2 ( newSize:usize ,
t:&meshlib::WatershedGraph_BasinInfo  )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::resize.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_resize_2().

◆ resize_with_reserve_1()

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

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::resizeWithReserve.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::resize_with_reserve_2 ( newSize:usize ,
value:&meshlib::WatershedGraph_BasinInfo  )

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

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::set_vec ( value:&meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo )

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

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

◆ shrink_to_fit()

void meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::shrink_to_fit ( )

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::shrink_to_fit.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_shrink_to_fit().

◆ size()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::size.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_size().

◆ swap()

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

Generated from method MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>::swap.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_swap().

◆ vec()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::vec ( ) const -> &meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo

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::WatershedGraph::BasinInfo, MR::GraphVertId> named vec.

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

◆ vec_mut()

auto meshlib::Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId::vec_mut ( ) -> &mut meshlib::std_vector_MR_WatershedGraph_BasinInfo_MR_Allocator_MR_WatershedGraph_BasinInfo

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::WatershedGraph::BasinInfo, MR::GraphVertId> named vec.

Calls MR_Vector_MR_WatershedGraph_BasinInfo_MR_GraphVertId_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: