pub trait HasHash<T: HashType> { // Required methods fn as_hash(&self) -> &AiHash<T>; fn into_hash(self) -> AiHash<T>; }
Anything which has an owned AiHashOf.
Get the hash by reference
Convert to the owned hash