Trait std::hash::Hash[src]

pub trait Hash<S = SipState> {
    fn hash<S = SipState>(&self, state: &mut S);
}

A trait that represents a hashable type. The S type parameter is an abstract hash state that is used by the Hash to compute the hash. It defaults to std::hash::sip::SipState.

Required Methods

fn hash<S = SipState>(&self, state: &mut S)

Compute a hash of the value.

Implementors