Trait Hashed
grin_core::core::hash
pub trait Hashed { fn hash(&self) -> Hash; }
A trait for types that have a canonical hash
fn hash(&self) -> Hash
Obtain the hash of the object
impl Hashed for Block
The hash of the underlying block.
impl Hashed for HeaderEntry
impl<D: DefaultHashable> Hashed for D