Trait fasthash::FastHasher [] [src]

pub trait FastHasher: Hasher where Self: Sized {
    type Seed: Default + Copy + From<Seed>;
    fn with_seed(seed: Self::Seed) -> Self;

    fn new() -> Self { ... }
    fn new_with_random_seed() -> Self { ... }
}

Fast non-cryptographic hasher

Associated Types

The seed to generate hash value.

Required Methods

Constructs a new FastHasher with seed.

Provided Methods

Constructs a new FastHasher.

Constructs a new FastHasher with a random seed.

Implementors