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

Public Member Functions

void assign_from_another (other:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName)
auto size () const -> usize
auto empty () const -> bool
void resize (new_size:usize)
void clear ()
void reserve (new_capacity:usize)
auto at (i:usize) const -> &meshlib::CNCMachineSettings_RotationAxisName
auto at_mut (i:usize) -> &mut meshlib::CNCMachineSettings_RotationAxisName
auto front () const -> Option<&meshlib::CNCMachineSettings_RotationAxisName >
auto front_mut () -> Option<&mut meshlib::CNCMachineSettings_RotationAxisName >
auto back () const -> Option<&meshlib::CNCMachineSettings_RotationAxisName >
auto back_mut () -> Option<&mut meshlib::CNCMachineSettings_RotationAxisName >
auto data () const -> *const meshlib::CNCMachineSettings_RotationAxisName
auto data_mut () -> *mut meshlib::CNCMachineSettings_RotationAxisName
void push_back (new_elem:meshlib::CNCMachineSettings_RotationAxisName)
void pop_back ()
void insert (position:usize, new_elem:meshlib::CNCMachineSettings_RotationAxisName)
void erase (position:usize)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName >
static auto construct_from_another (other:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName) -> meshlib::Owned< meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName >
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

Generated from C++ container std::vector<MR::CNCMachineSettings::RotationAxisName>.

Generated from class std::vector<MR::CNCMachineSettings::RotationAxisName>. Heap-allocated instances are held in Owned<std_vector_MR_CNCMachineSettings_RotationAxisName>.

Member Function Documentation

◆ assign_from_another()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::assign_from_another ( other:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName )

Assigns the contents from another instance. Both objects remain alive after the call.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_AssignFromAnother(). The reference to the parameter other might be preserved in this object.

◆ at()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::at ( i:usize ) const -> &meshlib::CNCMachineSettings_RotationAxisName

The element at a specific index, read-only.

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

◆ at_mut()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::at_mut ( i:usize ) -> &mut meshlib::CNCMachineSettings_RotationAxisName

The element at a specific index, mutable.

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

◆ back()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::back ( ) const -> Option<&meshlib::CNCMachineSettings_RotationAxisName >

The last element or null if empty, read-only.

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

◆ back_mut()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::back_mut ( ) -> Option<&mut meshlib::CNCMachineSettings_RotationAxisName >

The last element or null if empty, mutable.

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

◆ clear()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::clear ( )

Removes all elements from the container.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_clear().

◆ construct_from_another()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::construct_from_another ( other:&meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName ) -> meshlib::Owned< meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName >
static

Constructs a copy of another instance. The source remains alive.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.

◆ data()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::data ( ) const -> *const meshlib::CNCMachineSettings_RotationAxisName

Returns a pointer to the continuous storage that holds all elements, read-only.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_data(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ data_mut()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::data_mut ( ) -> *mut meshlib::CNCMachineSettings_RotationAxisName

Returns a pointer to the continuous storage that holds all elements, mutable.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_data_mut(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ empty()

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

Returns true if the size is zero.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_empty().

◆ erase()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::erase ( position:usize )

Erases the element at the specified position.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_erase().

◆ front()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::front ( ) const -> Option<&meshlib::CNCMachineSettings_RotationAxisName >

The first element or null if empty, read-only.

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

◆ front_mut()

auto meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::front_mut ( ) -> Option<&mut meshlib::CNCMachineSettings_RotationAxisName >

The first element or null if empty, mutable.

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

◆ insert()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::insert ( position:usize ,
new_elem:meshlib::CNCMachineSettings_RotationAxisName  )

Inserts a new element right before the specified position.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_insert(). The reference to the parameter new_elem might be preserved in this object.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_DefaultConstruct().

◆ pop_back()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::pop_back ( )

Removes one element from the end.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_pop_back().

◆ push_back()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::push_back ( new_elem:meshlib::CNCMachineSettings_RotationAxisName )

Inserts a new element at the end.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_push_back(). The reference to the parameter new_elem might be preserved in this object.

◆ reserve()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::reserve ( new_capacity:usize )

Reserves memory for a certain number of elements. Never shrinks the memory.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_reserve().

◆ resize()

void meshlib::std_vector_MR_CNCMachineSettings_RotationAxisName::resize ( new_size:usize )

Resizes the container. The new elements if any are zeroed.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_resize().

◆ size()

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

The number of elements.

Calls MR_std_vector_MR_CNCMachineSettings_RotationAxisName_size().


The documentation for this struct was generated from the following file: