[][src]Struct stateright::util::HashableHashMap

pub struct HashableHashMap<K, V, S = RandomState>(_);

A HashMap wrapper that implements Hash by sorting pre-hashed entries and feeding those back into the passed-in Hasher.

Implementations

impl<K, V> HashableHashMap<K, V>[src]

impl<K, V, S> HashableHashMap<K, V, S>[src]

pub fn with_hasher(hasher: S) -> Self[src]

Trait Implementations

impl<K: Clone, V: Clone, S: Clone> Clone for HashableHashMap<K, V, S>[src]

impl<K: Debug, V: Debug, S> Debug for HashableHashMap<K, V, S>[src]

impl<K, V, S: Default> Default for HashableHashMap<K, V, S>[src]

impl<K, V, S> Deref for HashableHashMap<K, V, S>[src]

type Target = HashMap<K, V, S>

The resulting type after dereferencing.

impl<K, V, S> DerefMut for HashableHashMap<K, V, S>[src]

impl<K: Eq + Hash, V: Eq, S: BuildHasher> Eq for HashableHashMap<K, V, S>[src]

impl<K: Eq + Hash, V, S: BuildHasher + Default> FromIterator<(K, V)> for HashableHashMap<K, V, S>[src]

impl<K: Hash, V: Hash, S> Hash for HashableHashMap<K, V, S>[src]

impl<'a, K, V, S> IntoIterator for &'a HashableHashMap<K, V, S>[src]

type Item = (&'a K, &'a V)

The type of the elements being iterated over.

type IntoIter = Iter<'a, K, V>

Which kind of iterator are we turning this into?

impl<K: Hash + Eq, V: PartialEq, S: BuildHasher> PartialEq<HashableHashMap<K, V, S>> for HashableHashMap<K, V, S>[src]

Auto Trait Implementations

impl<K, V, S> RefUnwindSafe for HashableHashMap<K, V, S> where
    K: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V, S> Send for HashableHashMap<K, V, S> where
    K: Send,
    S: Send,
    V: Send

impl<K, V, S> Sync for HashableHashMap<K, V, S> where
    K: Sync,
    S: Sync,
    V: Sync

impl<K, V, S> Unpin for HashableHashMap<K, V, S> where
    K: Unpin,
    S: Unpin,
    V: Unpin

impl<K, V, S> UnwindSafe for HashableHashMap<K, V, S> where
    K: UnwindSafe,
    S: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,