Trait fasthash::FastHash [] [src]

pub trait FastHash: BuildHasherExt {
    type Value;
    type Seed: Default + Copy + Rand;
    fn hash_with_seed<T: AsRef<[u8]>>(
        bytes: &T,
        seed: Self::Seed
    ) -> Self::Value; fn hash<T: AsRef<[u8]>>(bytes: &T) -> Self::Value { ... } }

Fast non-cryptographic hash functions

Associated Types

The output hash generated value.

The seed to generate hash value.

Required Methods

Hash functions for a byte array. For convenience, a seed is also hashed into the result.

Provided Methods

Hash functions for a byte array.

Implementors