pub trait ContainsIndex<I: Index> {
    // Required method
    fn contains_index(&self, index: &I) -> bool;
}
Expand description

generic trait to check if a index is contained in a collection

Required Methods§

source

fn contains_index(&self, index: &I) -> bool

check if the given Index is contained

Implementors§

source§

impl<I: Index + Eq + Hash> ContainsIndex<I> for HashSet<I>

source§

impl<I: Index + Eq + Hash, V> ContainsIndex<I> for HashMap<I, V>

source§

impl<I: Index> ContainsIndex<I> for H3Treemap<I>