Trait DynHash
Source pub trait DynHash: HashSealed {
// Required method
fn dyn_hash(&self, _state: &mut dyn Hasher);
}
Expand description
A dyn-compatible version of Hash
trait.
If two values are equal according to DynEq
, they must produce the same hash value.
Note: This trait should not be implemented directly. Implement Hash
and Any
and use
the blanket implementation.