Struct fasthash::farm::FarmHash32 [−][src]
pub struct FarmHash32 {}
FarmHash
32-bit hash functions
Trait Implementations
impl FastHash for FarmHash32
[src]
impl FastHash for FarmHash32
type Value = u32
The output hash generated value.
type Seed = u32
The seed to generate hash value.
fn hash<T: AsRef<[u8]>>(bytes: &T) -> u32
[src]
fn hash<T: AsRef<[u8]>>(bytes: &T) -> u32
Hash functions for a byte array.
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
impl BuildHasher for FarmHash32
[src]
impl BuildHasher for FarmHash32
type Hasher = FarmHasher32
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 FarmHash32
impl Send for FarmHash32
impl Sync for FarmHash32
impl Sync for FarmHash32