arc_ptr_hash

Function arc_ptr_hash 

Source
pub fn arc_ptr_hash<T>(a: &Arc<T>, hasher: &mut impl Hasher)
where T: ?Sized,
Expand description

Hashes an Arc pointer based on its underlying pointer value. The general contract for this function is that if arc_ptr_eq returns true for two Arcs, then this function should return the same hash value for both.