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.
pub trait HasHash<T: HashType> {
fn as_hash(&self) -> &HoloHash<T>;
fn into_hash(self) -> HoloHash<T>;
}
Anything which has an owned HoloHashOf.