MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::EdgeScalars:

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ assign()

void meshlib::EdgeScalars::assign ( count:usize ,
val:& f32 )

replaces the contents with count copies of val Generated from method MR::EdgeScalars::assign.

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

◆ assign_from_another()

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

Generated from method MR::EdgeScalars::operator=.

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

◆ auto_resize_at()

auto meshlib::EdgeScalars::auto_resize_at ( i:meshlib::EdgeId ) -> &mut f32

this accessor automatically adjusts the size of the vector Generated from method MR::EdgeScalars::autoResizeAt.

Calls MR_EdgeScalars_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::EdgeScalars::auto_resize_set_2 ( i:meshlib::EdgeId ,
val:f32  )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::EdgeScalars::autoResizeSet.

Calls MR_EdgeScalars_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::EdgeScalars::auto_resize_set_3 ( pos:meshlib::EdgeId ,
len:usize ,
val:f32  )

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::EdgeScalars::autoResizeSet.

Calls MR_EdgeScalars_autoResizeSet_3().

◆ back()

auto meshlib::EdgeScalars::back ( ) const -> &f32

Generated from method MR::EdgeScalars::back.

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

◆ back_id()

auto meshlib::EdgeScalars::back_id ( ) const -> meshlib::EdgeId

returns the identifier of the back() element Generated from method MR::EdgeScalars::backId.

Calls MR_EdgeScalars_backId().

◆ back_mut()

auto meshlib::EdgeScalars::back_mut ( ) -> &mut f32

Generated from method MR::EdgeScalars::back.

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

◆ begin_id()

auto meshlib::EdgeScalars::begin_id ( ) const -> meshlib::EdgeId

returns the identifier of the first element Generated from method MR::EdgeScalars::beginId.

Calls MR_EdgeScalars_beginId().

◆ capacity()

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

Generated from method MR::EdgeScalars::capacity.

Calls MR_EdgeScalars_capacity().

◆ clear()

void meshlib::EdgeScalars::clear ( )

Generated from method MR::EdgeScalars::clear.

Calls MR_EdgeScalars_clear().

◆ construct()

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

creates a vector with size elements with default value Generated from constructor MR::EdgeScalars::EdgeScalars.

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

◆ construct_fill()

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

creates a vector with size elements with the given value Generated from constructor MR::EdgeScalars::EdgeScalars.

Calls MR_EdgeScalars_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::EdgeScalars::construct_from_another ( _other:&meshlib::EdgeScalars ) -> meshlib::Owned< meshlib::EdgeScalars >
static

Generated from constructor MR::EdgeScalars::EdgeScalars.

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

◆ data()

auto meshlib::EdgeScalars::data ( ) const -> Option<&f32 >

Generated from method MR::EdgeScalars::data.

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

◆ data_mut()

auto meshlib::EdgeScalars::data_mut ( ) -> Option<&mut f32 >

Generated from method MR::EdgeScalars::data.

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

◆ empty()

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

Generated from method MR::EdgeScalars::empty.

Calls MR_EdgeScalars_empty().

◆ end_id()

auto meshlib::EdgeScalars::end_id ( ) const -> meshlib::EdgeId

returns backId() + 1 Generated from method MR::EdgeScalars::endId.

Calls MR_EdgeScalars_endId().

◆ front()

auto meshlib::EdgeScalars::front ( ) const -> &f32

Generated from method MR::EdgeScalars::front.

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

◆ front_mut()

auto meshlib::EdgeScalars::front_mut ( ) -> &mut f32

Generated from method MR::EdgeScalars::front.

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

◆ heap_bytes()

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

returns the amount of memory this object occupies on heap Generated from method MR::EdgeScalars::heapBytes.

Calls MR_EdgeScalars_heapBytes().

◆ index()

auto meshlib::EdgeScalars::index ( i:meshlib::EdgeId ) const -> &f32

Generated from method MR::EdgeScalars::operator[].

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

◆ index_mut()

auto meshlib::EdgeScalars::index_mut ( i:meshlib::EdgeId ) -> &mut f32

Generated from method MR::EdgeScalars::operator[].

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

◆ max_size()

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

Generated from method MR::EdgeScalars::max_size.

Calls MR_EdgeScalars_max_size().

◆ new()

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

creates empty vector

Calls MR_EdgeScalars_DefaultConstruct().

◆ op_equal()

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

Generated from method MR::EdgeScalars::operator==.

Calls MR_equal_MR_EdgeScalars().

◆ op_not_equal()

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

Generated from method MR::EdgeScalars::operator!=.

Calls MR_not_equal_MR_EdgeScalars().

◆ pop_back()

void meshlib::EdgeScalars::pop_back ( )

Generated from method MR::EdgeScalars::pop_back.

Calls MR_EdgeScalars_pop_back().

◆ push_back_const_float_ref()

void meshlib::EdgeScalars::push_back_const_float_ref ( t:& f32)

Generated from method MR::EdgeScalars::push_back.

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

◆ push_back_float_rvalue_ref()

void meshlib::EdgeScalars::push_back_float_rvalue_ref ( t:&mut f32)

Generated from method MR::EdgeScalars::push_back.

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

◆ reserve()

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

Generated from method MR::EdgeScalars::reserve.

Calls MR_EdgeScalars_reserve().

◆ resize_1()

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

Generated from method MR::EdgeScalars::resize.

Calls MR_EdgeScalars_resize_1().

◆ resize_2()

void meshlib::EdgeScalars::resize_2 ( newSize:usize ,
t:& f32 )

Generated from method MR::EdgeScalars::resize.

Calls MR_EdgeScalars_resize_2().

◆ resize_with_reserve_1()

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

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::EdgeScalars::resizeWithReserve.

Calls MR_EdgeScalars_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::EdgeScalars::resize_with_reserve_2 ( newSize:usize ,
value:& f32 )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::EdgeScalars::resizeWithReserve.

Calls MR_EdgeScalars_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::EdgeScalars::set_vec ( value:&meshlib::std_vector_float_MR_Allocator_float )

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

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

◆ shrink_to_fit()

void meshlib::EdgeScalars::shrink_to_fit ( )

Generated from method MR::EdgeScalars::shrink_to_fit.

Calls MR_EdgeScalars_shrink_to_fit().

◆ size()

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

Generated from method MR::EdgeScalars::size.

Calls MR_EdgeScalars_size().

◆ swap()

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

Generated from method MR::EdgeScalars::swap.

Calls MR_EdgeScalars_swap().

◆ vec()

auto meshlib::EdgeScalars::vec ( ) const -> &meshlib::std_vector_float_MR_Allocator_float

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::EdgeScalars named vec.

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

◆ vec_mut()

auto meshlib::EdgeScalars::vec_mut ( ) -> &mut meshlib::std_vector_float_MR_Allocator_float

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

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