pub fn contains<Q: ?Sized>(&self, k: &Q) -> bool
    where
        K: Borrow<Q>,
        Q: Eq + Hash
    {
        self.0.contains_key(k)
    }
/// returns true if the set contains the element, otherwise returns false
returns true if the set contains the element, otherwise returns false
returns true if the set contains the element otherwise returns false
pub fn contains<Q: ?Sized>(&self, k: &Q) -> bool
    where
        K: Borrow<Q>,
        Q: Eq + Hash
    {
        self.0.contains_key(k)
    }
pub fn contains < Q : ? Sized > ( & self , k : & Q ) -> bool where K : Borrow < Q > , Q : Eq + Hash { self . 0 . contains_key ( k ) }
returns true if the set contains the element, otherwise returns false
returns true if the set contains the element otherwise returns false
&self
k
&Q
&self
k
&Q