Module hash

Source
Expand description

Generic hashing support.

Extends: std::{hash}


Structs§

HasherBuildDefault
core Create a default HasherBuild instance for T:Hasher+Default types.
HasherFnvhash and cast
A Fowler–Noll–Vo hasher, implemented for u32, u64, u128 & usize.
HasherFx
A hashing algorithm used in the Rustc compiler, implemented for u32, u64 & usize.
HasherPengyhash
A fast 64-bit non-cryptographic hash algorithm.
RandomStatestd
std The default state for HashMapStd.

Traits§

Hash
core A hashable type.
Hasher
core A trait for hashing an arbitrary stream of bytes.
HasherBuild
core A trait for creating instances of Hasher.

Type Aliases§

HasherBuildFnvhash and cast
A builder for default Fnv hashers.
HasherBuildFx
A builder for default Fx hashers.

Derive Macros§

Hash
core Derive macro generating an impl of the trait Hash.