[−][src]Trait fluid::traits::collection::Collection
Abstracts a collection, like Vec
, VecDeque
, LinkedList
, etc.
Associated Types
Loading content...Required methods
fn is_empty(&self) -> bool
Returns whether the collection is empty or not.
fn contains(&self, item: &Self::Item) -> bool
Verifies if the collection contains an item.
Implementations on Foreign Types
impl<T> Collection for Vec<T> where
T: PartialEq<T>,
[src]
T: PartialEq<T>,
impl<T> Collection for VecDeque<T> where
T: PartialEq<T>,
[src]
T: PartialEq<T>,
impl<T> Collection for LinkedList<T> where
T: PartialEq<T>,
[src]
Loading content...
T: PartialEq<T>,