Trait grin_core::core::hash::Hashed

source ·
pub trait Hashed {
    // Required method
    fn hash(&self) -> Hash;
}
Expand description

A trait for types that have a canonical hash

Required Methods§

source

fn hash(&self) -> Hash

Obtain the hash of the object

Implementors§