Contains

Trait Contains 

Source
pub trait Contains: Collection {
    // Required method
    fn contains(&self, value: &Self::Item) -> bool;
}

Required Methods§

Source

fn contains(&self, value: &Self::Item) -> bool

Implementations on Foreign Types§

Source§

impl Contains for i8

Source§

fn contains(&self, value: &i8) -> bool

Source§

impl Contains for i16

Source§

fn contains(&self, value: &i16) -> bool

Source§

impl Contains for i32

Source§

fn contains(&self, value: &i32) -> bool

Source§

impl Contains for i64

Source§

fn contains(&self, value: &i64) -> bool

Source§

impl Contains for isize

Source§

fn contains(&self, value: &isize) -> bool

Source§

impl Contains for u8

Source§

fn contains(&self, value: &u8) -> bool

Source§

impl Contains for u16

Source§

fn contains(&self, value: &u16) -> bool

Source§

impl Contains for u32

Source§

fn contains(&self, value: &u32) -> bool

Source§

impl Contains for u64

Source§

fn contains(&self, value: &u64) -> bool

Source§

impl Contains for usize

Source§

fn contains(&self, value: &usize) -> bool

Implementors§

Source§

impl Contains for BitSet

Source§

impl<Bound> Contains for Interval<Bound>
where Bound: Ord,

Source§

impl<Bound: Width + Num> Contains for IntervalSet<Bound>

Source§

impl<T> Contains for BTreeSet<T>
where T: Ord,

Source§

impl<T> Contains for Optional<T>
where T: Eq,

Source§

impl<T, S> Contains for HashSet<T, S>
where T: Eq + Hash, S: BuildHasher,