Trait fasthash::FastHash
[−]
[src]
pub trait FastHash {
type Value;
type Seed: Default;
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: Self::Seed) -> Self::Value;
fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value { ... }
}Fast non-cryptographic hash functions
Associated Types
Required Methods
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: Self::Seed) -> Self::Value
Hash functions for a byte array. For convenience, a seed is also hashed into the result.
Provided Methods
Implementors
impl FastHash for CityHash32impl FastHash for CityHash64impl FastHash for CityHash128impl FastHash for CityHashCrc128impl FastHash for FarmHash32impl FastHash for FarmHash64impl FastHash for FarmHash128impl FastHash for MetroHash64_1impl FastHash for MetroHash64_2impl FastHash for MetroHash128_1impl FastHash for MetroHash128_2impl FastHash for MetroHash64Crc_1impl FastHash for MetroHash64Crc_2impl FastHash for MetroHash128Crc_1impl FastHash for MetroHash128Crc_2impl FastHash for MumHashimpl FastHash for Murmurimpl FastHash for MurmurAlignedimpl FastHash for Murmur2impl FastHash for Murmur2Aimpl FastHash for MurmurNeutral2impl FastHash for MurmurAligned2impl FastHash for Murmur2_x64_64impl FastHash for Murmur2_x86_64impl FastHash for Murmur3_x86_32impl FastHash for Murmur3_x86_128impl FastHash for Murmur3_x64_128impl FastHash for SpookyHash32impl FastHash for SpookyHash64impl FastHash for SpookyHash128impl FastHash for XXHash32impl FastHash for XXHash64