Trait cc_traits::PopFront[][src]

pub trait PopFront: Collection {
    fn pop_front(&mut self) -> Option<Self::Item>;
}

Mutable collection where elements can be popped from the front.

Required methods

fn pop_front(&mut self) -> Option<Self::Item>[src]

Remove the front element of the collection and return it (if any).

Loading content...

Implementors

Loading content...