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

Public Member Functions

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

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
static auto construct_from_another (_other:&meshlib::Vector_MR_AffineXf3f_MR_ObjId) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
static auto construct (size:usize) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
static auto construct_fill (size:usize, val:&meshlib::AffineXf3f) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
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::AffineXf3f, MR::ObjId>.

Generated from class MR::Vector<MR::AffineXf3f, MR::ObjId>. Heap-allocated instances are held in Owned<Vector_MR_AffineXf3f_MR_ObjId>.

Member Function Documentation

◆ assign()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::assign ( count:usize ,
val:&meshlib::AffineXf3f  )

replaces the contents with count copies of val Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::assign.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_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_AffineXf3f_MR_ObjId::assign_from_another ( _other:&meshlib::Vector_MR_AffineXf3f_MR_ObjId ) -> &mut meshlib::Vector_MR_AffineXf3f_MR_ObjId

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::operator=.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_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_AffineXf3f_MR_ObjId::auto_resize_at ( i:meshlib::ObjId ) -> &mut meshlib::AffineXf3f

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::autoResizeAt.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::auto_resize_set_2 ( i:meshlib::ObjId ,
val:meshlib::AffineXf3f  )

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

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::auto_resize_set_3 ( pos:meshlib::ObjId ,
len:usize ,
val:meshlib::AffineXf3f  )

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::AffineXf3f, MR::ObjId>::autoResizeSet.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_autoResizeSet_3().

◆ back()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::back ( ) const -> &meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::back.

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

◆ back_id()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::back_id ( ) const -> meshlib::ObjId

returns the identifier of the back() element Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::backId.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_backId().

◆ back_mut()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::back_mut ( ) -> &mut meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::back.

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

◆ begin_id()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::begin_id ( ) const -> meshlib::ObjId

returns the identifier of the first element Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::beginId.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_beginId().

◆ capacity()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::capacity.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_capacity().

◆ clear()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::clear ( )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::clear.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_clear().

◆ construct()

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

creates a vector with size elements with default value Generated from constructor MR::Vector<MR::AffineXf3f, MR::ObjId>::Vector.

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

◆ construct_fill()

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

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::AffineXf3f, MR::ObjId>::Vector.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_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_AffineXf3f_MR_ObjId::construct_from_another ( _other:&meshlib::Vector_MR_AffineXf3f_MR_ObjId ) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
static

Generated from constructor MR::Vector<MR::AffineXf3f, MR::ObjId>::Vector.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_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_AffineXf3f_MR_ObjId::data ( ) const -> Option<&meshlib::AffineXf3f >

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::data.

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

◆ data_mut()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::data_mut ( ) -> Option<&mut meshlib::AffineXf3f >

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::data.

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

◆ empty()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::empty.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_empty().

◆ end_id()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::end_id ( ) const -> meshlib::ObjId

returns backId() + 1 Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::endId.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_endId().

◆ front()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::front ( ) const -> &meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::front.

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

◆ front_mut()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::front_mut ( ) -> &mut meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::front.

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

◆ heap_bytes()

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

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

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_heapBytes().

◆ index()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::index ( i:meshlib::ObjId ) const -> &meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::operator[].

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

◆ index_mut()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::index_mut ( i:meshlib::ObjId ) -> &mut meshlib::AffineXf3f

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::operator[].

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

◆ max_size()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::max_size.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_max_size().

◆ new()

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

creates empty vector

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_DefaultConstruct().

◆ op_equal()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::operator==.

Calls MR_equal_MR_Vector_MR_AffineXf3f_MR_ObjId().

◆ op_not_equal()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_AffineXf3f_MR_ObjId().

◆ pop_back()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::pop_back ( )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::pop_back.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_pop_back().

◆ push_back_const_mr_affine_xf3f_ref()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::push_back_const_mr_affine_xf3f_ref ( t:&meshlib::AffineXf3f )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::push_back.

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

◆ push_back_mr_affine_xf3f_rvalue_ref()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::push_back_mr_affine_xf3f_rvalue_ref ( t:&mut meshlib::AffineXf3f )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::push_back.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_push_back_MR_AffineXf3f_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_AffineXf3f_MR_ObjId::reserve ( capacity:usize )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::reserve.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_reserve().

◆ resize_1()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::resize.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_resize_1().

◆ resize_2()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::resize_2 ( newSize:usize ,
t:&meshlib::AffineXf3f  )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::resize.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_resize_2().

◆ resize_with_reserve_1()

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

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

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::resize_with_reserve_2 ( newSize:usize ,
value:&meshlib::AffineXf3f  )

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

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::set_vec ( value:&meshlib::std_vector_MR_AffineXf3f_MR_Allocator_MR_AffineXf3f )

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

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

◆ shrink_to_fit()

void meshlib::Vector_MR_AffineXf3f_MR_ObjId::shrink_to_fit ( )

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::shrink_to_fit.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_shrink_to_fit().

◆ size()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::size.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_size().

◆ swap()

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

Generated from method MR::Vector<MR::AffineXf3f, MR::ObjId>::swap.

Calls MR_Vector_MR_AffineXf3f_MR_ObjId_swap().

◆ vec()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::vec ( ) const -> &meshlib::std_vector_MR_AffineXf3f_MR_Allocator_MR_AffineXf3f

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::AffineXf3f, MR::ObjId> named vec.

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

◆ vec_mut()

auto meshlib::Vector_MR_AffineXf3f_MR_ObjId::vec_mut ( ) -> &mut meshlib::std_vector_MR_AffineXf3f_MR_Allocator_MR_AffineXf3f

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::AffineXf3f, MR::ObjId> named vec.

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