Trait eclectic::FifoQueue
[−]
[src]
pub trait FifoQueue: Queue {
fn front_mut(&mut self) -> Option<&mut Self::Item> where Self: Mutate;
}
A first-in, first-out queue.
Required Methods
fn front_mut(&mut self) -> Option<&mut Self::Item> where Self: Mutate
Returns a mutable reference to the item at the front of the queue.
Returns None
if the queue is empty.
Implementors
impl<T> FifoQueue for LinkedList<T>
impl<T> FifoQueue for VecDeque<T>