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

Public Member Functions

auto assign_from_another (_other:&meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits) -> &mut meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits
void assign (count:usize, val:&meshlib::BoxedLeaf_MR_ObjTreeTraits)
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::BoxedLeaf_MR_ObjTreeTraits)
void resize_no_init (targetSize:usize, mode:Option< meshlib::ReserveMode >)
auto capacity () const -> usize
void reserve (capacity:usize)
void shrink_to_fit ()
auto index (i:usize) const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits
auto index_mut (i:usize) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits
void resize_with_reserve_1 (newSize:usize)
void resize_with_reserve_2 (newSize:usize, value:&meshlib::BoxedLeaf_MR_ObjTreeTraits)
void auto_resize_set_3 (pos:usize, len:usize, val:&meshlib::BoxedLeaf_MR_ObjTreeTraits)
void auto_resize_set_2 (i:usize, val:&meshlib::BoxedLeaf_MR_ObjTreeTraits)
auto auto_resize_at (i:usize) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits
void push_back_const_mr_boxed_leaf_mr_obj_tree_traits_ref (t:&meshlib::BoxedLeaf_MR_ObjTreeTraits)
void push_back_mr_boxed_leaf_mr_obj_tree_traits_rvalue_ref (t:&mut meshlib::BoxedLeaf_MR_ObjTreeTraits)
void pop_back ()
auto front () const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits
auto front_mut () -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits
auto back () const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits
auto back_mut () -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits
auto begin_id () const -> usize
auto back_id () const -> usize
auto end_id () const -> usize
auto data_mut () -> Option<&mut meshlib::BoxedLeaf_MR_ObjTreeTraits >
auto data () const -> Option<&meshlib::BoxedLeaf_MR_ObjTreeTraits >
void swap (b:&mut meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits)
auto heap_bytes () const -> usize
auto vec () const -> &meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits
auto vec_mut () -> &mut meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits
void set_vec (value:&meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits >
static auto construct_from_another (_other:&meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits) -> meshlib::Owned< meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits >
static auto construct (size:usize) -> meshlib::Owned< meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits >
static auto construct_fill (size:usize, val:&meshlib::BoxedLeaf_MR_ObjTreeTraits) -> meshlib::Owned< meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits >
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::BoxedLeaf<MR::ObjTreeTraits>>.

Generated from class MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>. Heap-allocated instances are held in Owned<Vector_MR_BoxedLeaf_MR_ObjTreeTraits>.

Member Function Documentation

◆ assign()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::assign ( count:usize ,
val:&meshlib::BoxedLeaf_MR_ObjTreeTraits  )

replaces the contents with count copies of val Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::assign.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_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_BoxedLeaf_MR_ObjTreeTraits::assign_from_another ( _other:&meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits ) -> &mut meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::operator=.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_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_BoxedLeaf_MR_ObjTreeTraits::auto_resize_at ( i:usize ) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::autoResizeAt.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::auto_resize_set_2 ( i:usize ,
val:&meshlib::BoxedLeaf_MR_ObjTreeTraits  )

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

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::auto_resize_set_3 ( pos:usize ,
len:usize ,
val:&meshlib::BoxedLeaf_MR_ObjTreeTraits  )

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::BoxedLeaf<MR::ObjTreeTraits>>::autoResizeSet.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_autoResizeSet_3().

◆ back()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::back ( ) const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::back.

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

◆ back_id()

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

returns the identifier of the back() element Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::backId.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_backId().

◆ back_mut()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::back_mut ( ) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::back.

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

◆ begin_id()

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

returns the identifier of the first element Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::beginId.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_beginId().

◆ capacity()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::capacity.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_capacity().

◆ clear()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::clear ( )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::clear.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_clear().

◆ construct()

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

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::Vector.

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

◆ construct_fill()

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

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::Vector.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_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_BoxedLeaf_MR_ObjTreeTraits::construct_from_another ( _other:&meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits ) -> meshlib::Owned< meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits >
static

Generated from constructor MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::Vector.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_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_BoxedLeaf_MR_ObjTreeTraits::data ( ) const -> Option<&meshlib::BoxedLeaf_MR_ObjTreeTraits >

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::data.

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

◆ data_mut()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::data_mut ( ) -> Option<&mut meshlib::BoxedLeaf_MR_ObjTreeTraits >

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::data.

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

◆ empty()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::empty.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_empty().

◆ end_id()

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

returns backId() + 1 Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::endId.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_endId().

◆ front()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::front ( ) const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::front.

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

◆ front_mut()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::front_mut ( ) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::front.

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

◆ heap_bytes()

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

returns the amount of memory this object occupies on heap Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::heapBytes.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_heapBytes().

◆ index()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::index ( i:usize ) const -> &meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::operator[].

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

◆ index_mut()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::index_mut ( i:usize ) -> &mut meshlib::BoxedLeaf_MR_ObjTreeTraits

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::operator[].

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

◆ max_size()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::max_size.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_max_size().

◆ new()

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

creates empty vector

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_DefaultConstruct().

◆ pop_back()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::pop_back ( )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::pop_back.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_pop_back().

◆ push_back_const_mr_boxed_leaf_mr_obj_tree_traits_ref()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::push_back_const_mr_boxed_leaf_mr_obj_tree_traits_ref ( t:&meshlib::BoxedLeaf_MR_ObjTreeTraits )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::push_back.

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

◆ push_back_mr_boxed_leaf_mr_obj_tree_traits_rvalue_ref()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::push_back_mr_boxed_leaf_mr_obj_tree_traits_rvalue_ref ( t:&mut meshlib::BoxedLeaf_MR_ObjTreeTraits )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::push_back.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_push_back_MR_BoxedLeaf_MR_ObjTreeTraits_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_BoxedLeaf_MR_ObjTreeTraits::reserve ( capacity:usize )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::reserve.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_reserve().

◆ resize_1()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::resize.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_resize_1().

◆ resize_2()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::resize_2 ( newSize:usize ,
t:&meshlib::BoxedLeaf_MR_ObjTreeTraits  )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::resize.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_resize_2().

◆ resize_no_init()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::resize_no_init ( targetSize:usize ,
mode:Option< meshlib::ReserveMode >  )

resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::resizeNoInit.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_resizeNoInit().

◆ resize_with_reserve_1()

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

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

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::resize_with_reserve_2 ( newSize:usize ,
value:&meshlib::BoxedLeaf_MR_ObjTreeTraits  )

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

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::set_vec ( value:&meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits )

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

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

◆ shrink_to_fit()

void meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::shrink_to_fit ( )

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::shrink_to_fit.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_shrink_to_fit().

◆ size()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::size.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_size().

◆ swap()

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

Generated from method MR::Vector<MR::BoxedLeaf<MR::ObjTreeTraits>>::swap.

Calls MR_Vector_MR_BoxedLeaf_MR_ObjTreeTraits_swap().

◆ vec()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::vec ( ) const -> &meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits

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::BoxedLeaf<MR::ObjTreeTraits>> named vec.

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

◆ vec_mut()

auto meshlib::Vector_MR_BoxedLeaf_MR_ObjTreeTraits::vec_mut ( ) -> &mut meshlib::std_vector_MR_BoxedLeaf_MR_ObjTreeTraits_MR_Allocator_MR_BoxedLeaf_MR_ObjTreeTraits

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::BoxedLeaf<MR::ObjTreeTraits>> named vec.

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