Trait Hashed

Source
pub trait Hashed {
    // Required method
    fn hash(&self) -> Hash;
}
Expand description

A trait for types that have a canonical hash

Required Methods§

Source

fn hash(&self) -> Hash

Obtain the hash of the object

Implementors§