pub trait ObjectHash {
// Required method
fn obj_hash(&self, state: &mut dyn Hasher);
}Expand description
This is an object-safe version of Hash, which is automatically
implemented for all Hash + Object types. This is a support trait used to
allow Object trait objects to be comparable in this way.
Note: Objects are not guaranteed to hash to the same value as their
underlying type.