pub trait HashWrapper {
type Hasher;
// Required methods
fn from_hasher(hasher: Self::Hasher) -> Self;
fn get_hasher(&self) -> &Self::Hasher;
fn get_hasher_mut(&mut self) -> &mut Self::Hasher;
}Required Associated Types§
Required Methods§
fn from_hasher(hasher: Self::Hasher) -> Self
fn get_hasher(&self) -> &Self::Hasher
fn get_hasher_mut(&mut self) -> &mut Self::Hasher
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.