pub trait PrecomputedHash {
// Required method
fn precomputed_hash(&self) -> u32;
}Expand description
A trait to expose a precomputed hash for a type.
Required Methods§
Sourcefn precomputed_hash(&self) -> u32
fn precomputed_hash(&self) -> u32
Return the precomputed hash for this item.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".