Trait object_safe::HashObj
source · pub trait HashObj {
// Required methods
fn hash_object(&self, state: &mut dyn Hasher);
fn as_hash_object(&self) -> &dyn HashObj;
}Expand description
Object-safe version of std::hash::Hash
pub trait HashObj {
// Required methods
fn hash_object(&self, state: &mut dyn Hasher);
fn as_hash_object(&self) -> &dyn HashObj;
}Object-safe version of std::hash::Hash