[][src]Trait cc_traits::PopFront

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

Mutable collection where elements can be popped from the front.

Required methods

pub 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...