Function hash

Source
pub fn hash<T: Hash + ?Sized>(v: &T) -> u64
Expand description

helper function to calculate the hash of an arbitrary type that implements the Hash trait