Trait asdi::Collection[][src]

pub trait Collection<T> {
    fn is_empty(&self) -> bool;
fn len(&self) -> usize;
fn iter(&self) -> Box<dyn Iterator<Item = &T>>;
fn contains(&self, value: &T) -> bool; }
Expand description

All collections of things in the library implement these basic methods.

Required methods

Implementors