Trait granite::List[][src]

pub trait List: ListStorage + for<'a> IntoRefIterator<'a, Item = Self::Element> + for<'a> IntoMutIterator<'a, Item = Self::Element> { }

Trait alias for list-like containers which support indexing, addition and removal of elements and iteration.

This is automatically implemented for any type implementing ListStorage and HRTB-bounded IntoRefIterator and IntoMutIterator.

Implementors

impl<T> List for T where
    T: ListStorage + for<'a> IntoRefIterator<'a, Item = Self::Element> + for<'a> IntoMutIterator<'a, Item = Self::Element>, 
[src]

Loading content...