pub trait Hasher {
type Hash: Hash;
// Required method
fn hash(val: impl Hashable, seed: u64) -> Self::Hash;
}
Expand description
Trait of generic non-cryptographic hash function, which can be used to back a PTHash perfect hash function.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.