Crate identity_hash

source ·
Expand description

This is a fork of the inactive project paritytech/nohash-hasher.

Structs

  • For an enabled type T, a IdentityHasher<T> implements std::hash::Hasher and uses the value set by one of the write_{u8, u16, u32, u64, usize, i8, i16, i32, i64, isize} methods as its hash output.

Traits

Type Definitions

  • An alias for BuildHasherDefault for use with IdentityHasher.
  • A HashMap with an integer domain, using IdentityHasher to perform no hashing at all.
  • A HashSet of integers, using IdentityHasher to perform no hashing at all.