[][src]Trait algorithms_edu::data_structures::queue::Queue

pub trait Queue<T> {
    pub fn with_capacity(capacity: usize) -> Self;
pub fn len(&self) -> usize;
pub fn push_back(&mut self, val: T);
pub fn pop_front(&mut self) -> Option<T>; pub fn is_empty(&self) -> bool { ... } }

Required methods

pub fn with_capacity(capacity: usize) -> Self[src]

pub fn len(&self) -> usize[src]

pub fn push_back(&mut self, val: T)[src]

pub fn pop_front(&mut self) -> Option<T>[src]

Loading content...

Provided methods

pub fn is_empty(&self) -> bool[src]

Loading content...

Implementations on Foreign Types

impl<T: Clone> Queue<T> for VecDeque<T>[src]

Loading content...

Implementors

impl<T: Clone> Queue<T> for FixedCapacityQueue<T>[src]

Loading content...