pub trait HasHash<T>where
T: HashType,{
// Required methods
fn as_hash(&self) -> &HoloHash<T>;
fn into_hash(self) -> HoloHash<T>;
}
Expand description
Anything which has an owned HoloHashOf.
pub trait HasHash<T>where
T: HashType,{
// Required methods
fn as_hash(&self) -> &HoloHash<T>;
fn into_hash(self) -> HoloHash<T>;
}
Anything which has an owned HoloHashOf.