Trait BuildHasherExt

Source
pub trait BuildHasherExt: BuildHasher {
    // Provided method
    fn hashes_one<T: Hash>(&self, item: T) -> impl Iterator<Item = Hash64>
       where Self::Hasher: HasherExt { ... }
}
Expand description

Extends the BuildHasher trait by allowing to compute the sequence of hash values for one given hashable value.

Provided Methods§

Source

fn hashes_one<T: Hash>(&self, item: T) -> impl Iterator<Item = Hash64>
where Self::Hasher: HasherExt,

Generates the sequece of hash values for a given item.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§