Trait std::hash::HashUnstable [-]  [+] [src]

pub trait Hash<H: Hasher> {
    fn hash(&self, state: &mut H);
}

A hashable type.

The H type parameter is an abstract hash state that is used by the Hash to compute the hash. Specific implementations of this trait may specialize for particular instances of H in order to be able to optimize the hashing behavior.

Required Methods

fn hash(&self, state: &mut H)

Feeds this value into the state given, updating the hasher as necessary.

Implementors