Trait hash_that_set::BuildHasherFromFriend
source · pub trait BuildHasherFromFriend<F> {
type Hasher: Hasher;
// Required method
fn build_hasher_from<'f>(friend: &'f F) -> Self::Hasher
where Self::Hasher: 'f;
}
Expand description
Like the standard library’s BuildHasher
, but takes the hashing implementation from a peer
Required Associated Types§
Required Methods§
sourcefn build_hasher_from<'f>(friend: &'f F) -> Self::Hasherwhere
Self::Hasher: 'f,
fn build_hasher_from<'f>(friend: &'f F) -> Self::Hasherwhere Self::Hasher: 'f,
Creates a hashing implementation