pub trait PushBack<T>: Push<T> {
// Provided method
fn push_back(&mut self, val: T) -> Option<Self::PushedOut> { ... }
}Expand description
A trait for moving data onto the back of a collection.
Some collections have a particular location onto which new values are pushed, and the “back”
refers to this canonical location. If you don’t care where values are pushed, you should use
Push by itself instead.
Collections which have two locations to push values should also implement PushFront.