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

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ assign()

void meshlib::TriCornerUVCoords::assign ( count:usize ,
val:&meshlib::std_array_MR_Vector2f_3  )

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

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

◆ assign_from_another()

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

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

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

◆ auto_resize_at()

auto meshlib::TriCornerUVCoords::auto_resize_at ( i:meshlib::FaceId ) -> &mut meshlib::std_array_MR_Vector2f_3

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

Calls MR_TriCornerUVCoords_autoResizeAt().

◆ auto_resize_set_2()

void meshlib::TriCornerUVCoords::auto_resize_set_2 ( i:meshlib::FaceId ,
val:meshlib::std_array_MR_Vector2f_3  )

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

Calls MR_TriCornerUVCoords_autoResizeSet_2().

◆ auto_resize_set_3()

void meshlib::TriCornerUVCoords::auto_resize_set_3 ( pos:meshlib::FaceId ,
len:usize ,
val:meshlib::std_array_MR_Vector2f_3  )

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

Calls MR_TriCornerUVCoords_autoResizeSet_3().

◆ back()

auto meshlib::TriCornerUVCoords::back ( ) const -> &meshlib::std_array_MR_Vector2f_3

Generated from method MR::TriCornerUVCoords::back.

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

◆ back_id()

auto meshlib::TriCornerUVCoords::back_id ( ) const -> meshlib::FaceId

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

Calls MR_TriCornerUVCoords_backId().

◆ back_mut()

auto meshlib::TriCornerUVCoords::back_mut ( ) -> &mut meshlib::std_array_MR_Vector2f_3

Generated from method MR::TriCornerUVCoords::back.

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

◆ begin_id()

auto meshlib::TriCornerUVCoords::begin_id ( ) const -> meshlib::FaceId

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

Calls MR_TriCornerUVCoords_beginId().

◆ capacity()

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

Generated from method MR::TriCornerUVCoords::capacity.

Calls MR_TriCornerUVCoords_capacity().

◆ clear()

void meshlib::TriCornerUVCoords::clear ( )

Generated from method MR::TriCornerUVCoords::clear.

Calls MR_TriCornerUVCoords_clear().

◆ construct()

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

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

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

◆ construct_fill()

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

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

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

Generated from constructor MR::TriCornerUVCoords::TriCornerUVCoords.

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

◆ data()

auto meshlib::TriCornerUVCoords::data ( ) const -> Option<&meshlib::std_array_MR_Vector2f_3 >

Generated from method MR::TriCornerUVCoords::data.

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

◆ data_mut()

auto meshlib::TriCornerUVCoords::data_mut ( ) -> Option<&mut meshlib::std_array_MR_Vector2f_3 >

Generated from method MR::TriCornerUVCoords::data.

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

◆ empty()

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

Generated from method MR::TriCornerUVCoords::empty.

Calls MR_TriCornerUVCoords_empty().

◆ end_id()

auto meshlib::TriCornerUVCoords::end_id ( ) const -> meshlib::FaceId

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

Calls MR_TriCornerUVCoords_endId().

◆ front()

auto meshlib::TriCornerUVCoords::front ( ) const -> &meshlib::std_array_MR_Vector2f_3

Generated from method MR::TriCornerUVCoords::front.

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

◆ front_mut()

auto meshlib::TriCornerUVCoords::front_mut ( ) -> &mut meshlib::std_array_MR_Vector2f_3

Generated from method MR::TriCornerUVCoords::front.

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

◆ heap_bytes()

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

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

Calls MR_TriCornerUVCoords_heapBytes().

◆ index()

auto meshlib::TriCornerUVCoords::index ( i:meshlib::FaceId ) const -> &meshlib::std_array_MR_Vector2f_3

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

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

◆ index_mut()

auto meshlib::TriCornerUVCoords::index_mut ( i:meshlib::FaceId ) -> &mut meshlib::std_array_MR_Vector2f_3

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

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

◆ max_size()

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

Generated from method MR::TriCornerUVCoords::max_size.

Calls MR_TriCornerUVCoords_max_size().

◆ new()

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

creates empty vector

Calls MR_TriCornerUVCoords_DefaultConstruct().

◆ op_equal()

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

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

Calls MR_equal_MR_TriCornerUVCoords().

◆ op_not_equal()

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

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

Calls MR_not_equal_MR_TriCornerUVCoords().

◆ pop_back()

void meshlib::TriCornerUVCoords::pop_back ( )

Generated from method MR::TriCornerUVCoords::pop_back.

Calls MR_TriCornerUVCoords_pop_back().

◆ push_back_const_std_array_mr_vector2f_3_ref()

void meshlib::TriCornerUVCoords::push_back_const_std_array_mr_vector2f_3_ref ( t:&meshlib::std_array_MR_Vector2f_3 )

Generated from method MR::TriCornerUVCoords::push_back.

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

◆ push_back_std_array_mr_vector2f_3_rvalue_ref()

void meshlib::TriCornerUVCoords::push_back_std_array_mr_vector2f_3_rvalue_ref ( t:&mut meshlib::std_array_MR_Vector2f_3 )

Generated from method MR::TriCornerUVCoords::push_back.

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

◆ reserve()

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

Generated from method MR::TriCornerUVCoords::reserve.

Calls MR_TriCornerUVCoords_reserve().

◆ resize_1()

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

Generated from method MR::TriCornerUVCoords::resize.

Calls MR_TriCornerUVCoords_resize_1().

◆ resize_2()

void meshlib::TriCornerUVCoords::resize_2 ( newSize:usize ,
t:&meshlib::std_array_MR_Vector2f_3  )

Generated from method MR::TriCornerUVCoords::resize.

Calls MR_TriCornerUVCoords_resize_2().

◆ resize_with_reserve_1()

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

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

Calls MR_TriCornerUVCoords_resizeWithReserve_1().

Deprecated
use resize() instead

◆ resize_with_reserve_2()

void meshlib::TriCornerUVCoords::resize_with_reserve_2 ( newSize:usize ,
value:&meshlib::std_array_MR_Vector2f_3  )

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

Calls MR_TriCornerUVCoords_resizeWithReserve_2().

Deprecated
use resize() instead

◆ set_vec()

void meshlib::TriCornerUVCoords::set_vec ( value:&meshlib::std_vector_std_array_MR_Vector2f_3_MR_Allocator_std_array_MR_Vector2f_3 )

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

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

◆ shrink_to_fit()

void meshlib::TriCornerUVCoords::shrink_to_fit ( )

Generated from method MR::TriCornerUVCoords::shrink_to_fit.

Calls MR_TriCornerUVCoords_shrink_to_fit().

◆ size()

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

Generated from method MR::TriCornerUVCoords::size.

Calls MR_TriCornerUVCoords_size().

◆ swap()

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

Generated from method MR::TriCornerUVCoords::swap.

Calls MR_TriCornerUVCoords_swap().

◆ vec()

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

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

◆ vec_mut()

auto meshlib::TriCornerUVCoords::vec_mut ( ) -> &mut meshlib::std_vector_std_array_MR_Vector2f_3_MR_Allocator_std_array_MR_Vector2f_3

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

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