Trait cc_traits::PopFront

source ·
pub trait PopFront: Collection {
    // Required method
    fn pop_front(&mut self) -> Option<Self::Item>;
}
Expand description

Mutable collection where elements can be popped from the front.

Required Methods§

source

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

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

Implementors§