pub trait ComputedHash {
// Required method
fn computed_hash(&self) -> u64;
}Expand description
Trait to implement for typed that contain a pre-computed hash value.
Required Methods§
Sourcefn computed_hash(&self) -> u64
fn computed_hash(&self) -> u64
Return computed hash value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".