pub fn hash<T: Hash + ?Sized>(v: &T) -> u64
helper function to calculate the hash of an arbitrary type that implements the Hash trait
Hash