pub trait DynHash: DynEq {
// Required methods
fn as_dyn_eq(&self) -> &(dyn DynEq + 'static);
fn dyn_hash(&self, state: &mut dyn Hasher);
}
Expand description
An object safe version of Hash
. This trait is automatically implemented
for any 'static
type that implements Hash
.