Struct fera_unionfind::IndexedHashMap [] [src]

pub struct IndexedHashMap<K, V, S = RandomState> where
    K: Copy + Hash + Eq,
    S: BuildHasher
{ /* fields omitted */ }

This implements a map that can be used with UnionFind.

TODO: add docs of how to use a different hasher

Methods

impl<K, S> IndexedHashMap<K, K, S> where
    K: Copy + Hash + Eq,
    S: BuildHasher
[src]

[src]

impl<K, S> IndexedHashMap<K, usize, S> where
    K: Copy + Hash + Eq,
    S: BuildHasher
[src]

[src]

Trait Implementations

impl<K, V> Index<K> for IndexedHashMap<K, V> where
    K: Copy + Hash + Eq
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<K, V> IndexMut<K> for IndexedHashMap<K, V> where
    K: Copy + Hash + Eq
[src]

[src]

Performs the mutable indexing (container[index]) operation.