Trait eclectic::seq::Deque
[−]
[src]
pub trait Deque: Queue + Stack { fn push_front(&mut self, item: Self::Item); }
A deque (double-ended queue).
Required Methods
fn push_front(&mut self, item: Self::Item)
Pushes the given item onto the front of the deque.
Implementors
impl<T> Deque for LinkedList<T>
impl<T> Deque for VecDeque<T>