pub trait Hashable<Hasher> {
// Required method
fn write(&self, hasher: &mut Hasher);
}Expand description
Something that we know how to hash.
Required Methods§
Sourcefn write(&self, hasher: &mut Hasher)
fn write(&self, hasher: &mut Hasher)
Send the content of Self to the given hasher.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".