Trait holo_hash::HasHash[][src]

pub trait HasHash<T: HashType> {
    fn as_hash(&self) -> &HoloHash<T>;
fn into_hash(self) -> HoloHash<T>; }
Expand description

Anything which has an owned HoloHashOf.

Required methods

Get the hash by reference

Convert to the owned hash

Implementors