Function std::hash::hash [] [src]

pub fn hash<T, H>(value: &T) -> u64 where H: Default + Hasher, T: Hash
Unstable

: not the most ergonomic interface unless H is defaulted to SipHasher, but perhaps not ready to commit to that

Hash a value with the default SipHasher algorithm (two initial keys of 0).

The specified value will be hashed with this hasher and then the resulting hash will be returned.