Struct fasthash::farm::FarmHash64 [−][src]
pub struct FarmHash64 {}
FarmHash
64-bit hash functions
Methods
impl FarmHash64
[src]
impl FarmHash64
pub fn hash_with_seeds<T: AsRef<[u8]>>(bytes: &T, seed0: u64, seed1: u64) -> u64
[src]
pub 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 FarmHash64
[src]
impl FastHash for FarmHash64
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
[src]
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
[src]
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. Read more
impl BuildHasher for FarmHash64
[src]
impl BuildHasher for FarmHash64
type Hasher = FarmHasher64
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 FarmHash64
impl Send for FarmHash64
impl Sync for FarmHash64
impl Sync for FarmHash64