Struct fasthash::city::CityHash64
[−]
[src]
pub struct CityHash64 {}
CityHash 64-bit hash functions
Methods
impl CityHash64
[src]
fn hash_with_seeds<T: AsRef<[u8]>>(bytes: &T, seed0: u64, seed1: u64) -> u64
Hash functions for a byte array. For convenience, seeds are also hashed into the result.
Trait Implementations
impl FastHash for CityHash64
[src]
type Value = u64
The output hash generated value.
type Seed = u64
The seed to generate hash value.
fn hash<T: AsRef<[u8]>>(bytes: &T) -> u64
Hash functions for a byte array.
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u64) -> u64
Hash functions for a byte array. For convenience, a seed is also hashed into the result.
impl BuildHasher for CityHash64
[src]
type Hasher = CityHasher64
Type of the hasher that will be created.
fn build_hasher(&self) -> Self::Hasher
Creates a new hasher. Read more