Trait solana_runtime::contains::Contains
source · 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;
}