Skip to main content

DynHash

Trait DynHash 

Source
pub trait DynHash: SealedHash {
    // Required method
    fn dyn_hash(&self, state: &mut dyn Hasher);
}
Expand description

A dynamic hash trait for types implementing std::hash::Hash.

Required Methods§

Source

fn dyn_hash(&self, state: &mut dyn Hasher)

Hashes self into the given hasher.

Implementors§

Source§

impl<T> DynHash for T
where T: Hash + 'static,