Trait cc_traits::PushBack[][src]

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

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

Associated Types

type Output[src]

The output of the push function.

Loading content...

Required methods

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

Push a new element on the back of the collection.

Loading content...

Implementations on Foreign Types

impl<T> PushBack for Vec<T>[src]

type Output = ()

impl<T> PushBack for VecDeque<T>[src]

type Output = ()

Loading content...

Implementors

Loading content...