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 CityHash32
impl FastHash for CityHash64
impl FastHash for CityHash128
impl FastHash for CityHashCrc128
impl FastHash for FarmHash32
impl FastHash for FarmHash64
impl FastHash for FarmHash128
impl FastHash for MetroHash64_1
impl FastHash for MetroHash64_2
impl FastHash for MetroHash128_1
impl FastHash for MetroHash128_2
impl FastHash for MetroHash64Crc_1
impl FastHash for MetroHash64Crc_2
impl FastHash for MetroHash128Crc_1
impl FastHash for MetroHash128Crc_2
impl FastHash for MumHash
impl FastHash for Murmur
impl FastHash for MurmurAligned
impl FastHash for Murmur2
impl FastHash for Murmur2A
impl FastHash for MurmurNeutral2
impl FastHash for MurmurAligned2
impl FastHash for Murmur2_x64_64
impl FastHash for Murmur2_x86_64
impl FastHash for Murmur3_x86_32
impl FastHash for Murmur3_x86_128
impl FastHash for Murmur3_x64_128
impl FastHash for SpookyHash32
impl FastHash for SpookyHash64
impl FastHash for SpookyHash128
impl FastHash for XXHash32
impl FastHash for XXHash64