pub trait HashKey<Q: ?Sized> {
// Required method
fn hash_key(&self, key: &Q) -> usize;
}Expand description
Produce a usize hash for a borrowed key Q.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".