Public Member Functions | |
| void | assign_from_another (other:&meshlib::std_vector_MR_GcodeProcessor_MoveAction) |
| 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::GcodeProcessor_MoveAction |
| auto | at_mut (i:usize) -> &mut meshlib::GcodeProcessor_MoveAction |
| auto | front () const -> Option<&meshlib::GcodeProcessor_MoveAction > |
| auto | front_mut () -> Option<&mut meshlib::GcodeProcessor_MoveAction > |
| auto | back () const -> Option<&meshlib::GcodeProcessor_MoveAction > |
| auto | back_mut () -> Option<&mut meshlib::GcodeProcessor_MoveAction > |
| void | push_back (new_elem:&meshlib::GcodeProcessor_MoveAction) |
| void | pop_back () |
| void | insert (position:usize, new_elem:&meshlib::GcodeProcessor_MoveAction) |
| void | erase (position:usize) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::std_vector_MR_GcodeProcessor_MoveAction > |
| static auto | construct_from_another (other:&meshlib::std_vector_MR_GcodeProcessor_MoveAction) -> meshlib::Owned< meshlib::std_vector_MR_GcodeProcessor_MoveAction > |
| 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 |
Generated from C++ container std::vector<MR::GcodeProcessor::MoveAction>.
Generated from class std::vector<MR::GcodeProcessor::MoveAction>. Heap-allocated instances are held in Owned<std_vector_MR_GcodeProcessor_MoveAction>.
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::assign_from_another | ( | other:&meshlib::std_vector_MR_GcodeProcessor_MoveAction | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::at | ( | i:usize | ) | const -> &meshlib::GcodeProcessor_MoveAction |
The element at a specific index, read-only.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_at(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::at_mut | ( | i:usize | ) | -> &mut meshlib::GcodeProcessor_MoveAction |
The element at a specific index, mutable.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_at_mut(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::back | ( | ) | const -> Option<&meshlib::GcodeProcessor_MoveAction > |
The last element or null if empty, read-only.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_back(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::back_mut | ( | ) | -> Option<&mut meshlib::GcodeProcessor_MoveAction > |
The last element or null if empty, mutable.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_back_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::clear | ( | ) |
Removes all elements from the container.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_clear().
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::empty | ( | ) | const -> bool |
Returns true if the size is zero.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_empty().
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::erase | ( | position:usize | ) |
Erases the element at the specified position.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_erase().
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::front | ( | ) | const -> Option<&meshlib::GcodeProcessor_MoveAction > |
The first element or null if empty, read-only.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_front(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::front_mut | ( | ) | -> Option<&mut meshlib::GcodeProcessor_MoveAction > |
The first element or null if empty, mutable.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_front_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::insert | ( | position:usize | , |
| new_elem:&meshlib::GcodeProcessor_MoveAction | ) |
Inserts a new element right before the specified position.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_insert(). The reference to the parameter new_elem might be preserved in this object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_DefaultConstruct().
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::pop_back | ( | ) |
Removes one element from the end.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_pop_back().
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::push_back | ( | new_elem:&meshlib::GcodeProcessor_MoveAction | ) |
Inserts a new element at the end.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_push_back(). The reference to the parameter new_elem might be preserved in this object.
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::reserve | ( | new_capacity:usize | ) |
Reserves memory for a certain number of elements. Never shrinks the memory.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_reserve().
| void meshlib::std_vector_MR_GcodeProcessor_MoveAction::resize | ( | new_size:usize | ) |
Resizes the container. The new elements if any are zeroed.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_resize().
| auto meshlib::std_vector_MR_GcodeProcessor_MoveAction::size | ( | ) | const -> usize |
The number of elements.
Calls MR_std_vector_MR_GcodeProcessor_MoveAction_size().