Expand description
Returns the number of items in the stack.
Determines if the stack is empty.
Returns a reference to the element at the given index in the
stack or None
if the index is out of bounds
Returns a mutable reference to the element at the given index in the
stack or None
if the index is out of bounds
Pushes a value onto the top of the stack.
Removes the last element from the stack and returns it.
Immutably borrows from an owned value. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
Executes the destructor for this type. Read more
The type representing a reference to this type.
Constructs an instance of this type from its raw type.
Returns a raw pointer to the wrapped value.
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.