Struct fasthash::city::CityHash32 [−][src]
pub struct CityHash32 {}
CityHash
32-bit hash functions
Trait Implementations
impl FastHash for CityHash32
[src]
impl FastHash for CityHash32
type Value = u32
The output hash generated value.
type Seed = u32
The seed to generate hash value.
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u32) -> u32
[src]
fn hash_with_seed<T: AsRef<[u8]>>(bytes: &T, seed: u32) -> u32
Hash functions for a byte array. For convenience, a seed is also hashed into the result. Read more
fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value
[src]
fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value
Hash functions for a byte array.
impl BuildHasher for CityHash32
[src]
impl BuildHasher for CityHash32
type Hasher = CityHasher32
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 CityHash32
impl Send for CityHash32
impl Sync for CityHash32
impl Sync for CityHash32