pub trait HashObj {
// Required methods
fn hash_object(&self, state: &mut dyn Hasher);
fn as_hash_object(&self) -> &dyn HashObj;
fn to_hash_object(self) -> Box<dyn HashObj>
where Self: 'static;
}
Expand description
Object-safe version of std::hash::Hash