pub trait BuildHasherExt: BuildHasher {
    type Hash;

    // Required method
    fn prehash<T: Hash>(&self, value: T) -> PreHashed<T, Self::Hash>;
}
Expand description

An extension trait for BuildHasher that provides the BuildHasherExt::prehash method.

Required Associated Types§

Required Methods§

source

fn prehash<T: Hash>(&self, value: T) -> PreHashed<T, Self::Hash>

Object Safety§

This trait is not object safe.

Implementors§