Trait push_trait::PushBack [] [src]

pub trait PushBack<T>: Push<T> {
    fn push_back(&mut self, val: T) -> Option<Self::PushedOut>;
}

A mutable collection onto which items can be added "at the end."

"At the end" is defined in a way such that truncating the collection down by the item's length after a push will remove the item.

Required Methods

Adds the value to the back of the collection.

Implementors