Trait cc_traits::Back[][src]

pub trait Back: Collection {
    fn back(&self) -> Option<&Self::Item>;
}

Collection exposing a reference to its back element.

Required methods

fn back(&self) -> Option<&Self::Item>[src]

Get a reference to the back element of the collection.

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...