[][src]Trait cc_traits::PushFront

pub trait PushFront: Collection {
    type Output;
    pub 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

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