Trait cc_traits::Front[][src]

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

Collection exposing a reference to its front element.

Required methods

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

Get a reference to the front element of the collection.

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...