pub trait DynHash: DynEq {
// Required method
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.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".