Public Member Functions | |
| void | assign_from_another (other:&meshlib::std_vector_MR_EdgePoint) |
| 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::EdgePoint |
| auto | at_mut (i:usize) -> &mut meshlib::EdgePoint |
| auto | front () const -> Option<&meshlib::EdgePoint > |
| auto | front_mut () -> Option<&mut meshlib::EdgePoint > |
| auto | back () const -> Option<&meshlib::EdgePoint > |
| auto | back_mut () -> Option<&mut meshlib::EdgePoint > |
| void | push_back (new_elem:&meshlib::EdgePoint) |
| void | pop_back () |
| void | insert (position:usize, new_elem:&meshlib::EdgePoint) |
| void | erase (position:usize) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::std_vector_MR_EdgePoint > |
| static auto | construct_from_another (other:&meshlib::std_vector_MR_EdgePoint) -> meshlib::Owned< meshlib::std_vector_MR_EdgePoint > |
| 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::EdgePoint>.
Generated from class std::vector<MR::EdgePoint>. Heap-allocated instances are held in Owned<std_vector_MR_EdgePoint>.
| void meshlib::std_vector_MR_EdgePoint::assign_from_another | ( | other:&meshlib::std_vector_MR_EdgePoint | ) |
Assigns the contents from another instance. Both objects remain alive after the call.
Calls MR_std_vector_MR_EdgePoint_AssignFromAnother(). The reference to the parameter other might be preserved in this object.
| auto meshlib::std_vector_MR_EdgePoint::at | ( | i:usize | ) | const -> &meshlib::EdgePoint |
The element at a specific index, read-only.
Calls MR_std_vector_MR_EdgePoint_at(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_EdgePoint::at_mut | ( | i:usize | ) | -> &mut meshlib::EdgePoint |
The element at a specific index, mutable.
Calls MR_std_vector_MR_EdgePoint_at_mut(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_EdgePoint::back | ( | ) | const -> Option<&meshlib::EdgePoint > |
The last element or null if empty, read-only.
Calls MR_std_vector_MR_EdgePoint_back(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_EdgePoint::back_mut | ( | ) | -> Option<&mut meshlib::EdgePoint > |
The last element or null if empty, mutable.
Calls MR_std_vector_MR_EdgePoint_back_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_MR_EdgePoint::clear | ( | ) |
Removes all elements from the container.
Calls MR_std_vector_MR_EdgePoint_clear().
|
static |
Constructs a copy of another instance. The source remains alive.
Calls MR_std_vector_MR_EdgePoint_ConstructFromAnother(). The reference to the parameter other might be preserved in the constructed object.
| auto meshlib::std_vector_MR_EdgePoint::empty | ( | ) | const -> bool |
Returns true if the size is zero.
Calls MR_std_vector_MR_EdgePoint_empty().
| void meshlib::std_vector_MR_EdgePoint::erase | ( | position:usize | ) |
Erases the element at the specified position.
Calls MR_std_vector_MR_EdgePoint_erase().
| auto meshlib::std_vector_MR_EdgePoint::front | ( | ) | const -> Option<&meshlib::EdgePoint > |
The first element or null if empty, read-only.
Calls MR_std_vector_MR_EdgePoint_front(). The reference to this object might be preserved as the return value.
| auto meshlib::std_vector_MR_EdgePoint::front_mut | ( | ) | -> Option<&mut meshlib::EdgePoint > |
The first element or null if empty, mutable.
Calls MR_std_vector_MR_EdgePoint_front_mut(). The reference to this object might be preserved as the return value.
| void meshlib::std_vector_MR_EdgePoint::insert | ( | position:usize | , |
| new_elem:&meshlib::EdgePoint | ) |
Inserts a new element right before the specified position.
Calls MR_std_vector_MR_EdgePoint_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_EdgePoint_DefaultConstruct().
| void meshlib::std_vector_MR_EdgePoint::pop_back | ( | ) |
Removes one element from the end.
Calls MR_std_vector_MR_EdgePoint_pop_back().
| void meshlib::std_vector_MR_EdgePoint::push_back | ( | new_elem:&meshlib::EdgePoint | ) |
Inserts a new element at the end.
Calls MR_std_vector_MR_EdgePoint_push_back(). The reference to the parameter new_elem might be preserved in this object.
| void meshlib::std_vector_MR_EdgePoint::reserve | ( | new_capacity:usize | ) |
Reserves memory for a certain number of elements. Never shrinks the memory.
Calls MR_std_vector_MR_EdgePoint_reserve().
| void meshlib::std_vector_MR_EdgePoint::resize | ( | new_size:usize | ) |
Resizes the container. The new elements if any are zeroed.
Calls MR_std_vector_MR_EdgePoint_resize().
| auto meshlib::std_vector_MR_EdgePoint::size | ( | ) | const -> usize |
The number of elements.
Calls MR_std_vector_MR_EdgePoint_size().