Function hash

Source
pub fn hash<T: Hash + Debug + ?Sized>(key: &T) -> usize
Expand description

Takes a reference to a type T and uses Rust’s default hasher to return a 64-bit digest.