pub trait Contains<'a, T: Eq + Hash> {
type Item: Borrow<T>;
type Iter: Iterator<Item = Self::Item>;
// Required methods
fn contains(&self, key: &T) -> bool;
fn contains_iter(&'a self) -> Self::Iter;
}
pub trait Contains<'a, T: Eq + Hash> {
type Item: Borrow<T>;
type Iter: Iterator<Item = Self::Item>;
// Required methods
fn contains(&self, key: &T) -> bool;
fn contains_iter(&'a self) -> Self::Iter;
}