Struct fasthash::city::CityHashCrc128 [−][src]
pub struct CityHashCrc128 {}
CityHash
128-bit hash functions using HW CRC instruction.
Trait Implementations
impl FastHash for CityHashCrc128
[src]
impl FastHash for CityHashCrc128
type Value = u128
The output hash generated value.
type Seed = u128
The seed to generate hash value.
fn hash<T: AsRef<[u8]>>(bytes: &T) -> u128
[src]
fn hash<T: AsRef<[u8]>>(bytes: &T) -> u128
Hash functions for a byte array.
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u128) -> u128
[src]
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u128) -> u128
Hash functions for a byte array. For convenience, a seed is also hashed into the result. Read more
impl BuildHasher for CityHashCrc128
[src]
impl BuildHasher for CityHashCrc128
type Hasher = CityHasherCrc128
Type of the hasher that will be created.
fn build_hasher(&self) -> Self::Hasher
[src]
fn build_hasher(&self) -> Self::Hasher
Creates a new hasher. Read more
Auto Trait Implementations
impl Send for CityHashCrc128
impl Send for CityHashCrc128
impl Sync for CityHashCrc128
impl Sync for CityHashCrc128