[][src]Trait grin_core::core::hash::Hashed

pub trait Hashed {
    fn hash(&self) -> Hash;
}

A trait for types that have a canonical hash

Required methods

fn hash(&self) -> Hash

Obtain the hash of the object

Loading content...

Implementors

impl Hashed for Block[src]

fn hash(&self) -> Hash[src]

The hash of the underlying block.

impl Hashed for HeaderEntry[src]

fn hash(&self) -> Hash[src]

The hash of the underlying block.

impl<D: DefaultHashable> Hashed for D[src]

Loading content...