blockchainblock/
hashable.rs

1/// A trait for hashing an object.
2pub trait Hashable {
3    /// Calculate the hash of an object and store the result
4    /// in their internal structures
5    fn calculate_hash (&mut self);
6}