Returns the last element
The current memory capacity of the vector
Clears the vector, resulting in an empty one
If the vector is empty
Returns the first element
Assigns from a range.
Returns a new vector after appending to the given vector.
Access the ith element. Can throw RangeError.
Append to the vector
Append to the vector
Returns a slice
Returns a slice
Assign all elements to the given value
Assign all elements in the given range to the given value
Assign all elements using the given operation and the given value
Assign all elements in the given range using the given operation and the given value
Pops the last element off
When implemented, pops the front element off
Reserve memory to avoid allocations when appending
Shrink to fit the current length. Returns if shrunk.
Shrink to fit the new length given. Returns if shrunk.
A dynamic array with deterministic memory usage akin to C++'s std::vector or Rust's std::vec::Vec