pub trait Hashable {
// Required method
fn calculate_hash(&mut self);
}Expand description
A trait for hashing an object.
Required Methods§
Sourcefn calculate_hash(&mut self)
fn calculate_hash(&mut self)
Calculate the hash of an object and store the result in their internal structures