Trait eclectic::set::Contains [] [src]

pub trait Contains<Q: ?Sized>: Base {
    fn contains(&self, item: &Q) -> bool;
}

A set that supports lookups using items of type &Q.

Required Methods

fn contains(&self, item: &Q) -> bool

Checks if the set contains the given item.

Implementors