Trait cc_traits::PushFront[][src]

pub trait PushFront: Collection {
    type Output;
    fn push_front(&mut self, element: Self::Item) -> Self::Output;
}

Mutable collection where new elements can be pushed on the front.

Associated Types

type Output[src]

The output of the push function.

Loading content...

Required methods

fn push_front(&mut self, element: Self::Item) -> Self::Output[src]

Push a new element on the front of the collection.

Loading content...

Implementors

Loading content...