pub struct DeterministicHasher {}Expand description
A hasher that always produces deterministic outputs by wrapping DefaultHasher.
Implementations§
Trait Implementations§
Source§impl BuildHasher for DeterministicHasher
impl BuildHasher for DeterministicHasher
Source§fn build_hasher(&self) -> Self::Hasher
fn build_hasher(&self) -> Self::Hasher
Builds a new DefaultHasher for deterministic hashing.
Source§type Hasher = DefaultHasher
type Hasher = DefaultHasher
Type of the hasher that will be created.
Auto Trait Implementations§
impl Freeze for DeterministicHasher
impl RefUnwindSafe for DeterministicHasher
impl Send for DeterministicHasher
impl Sync for DeterministicHasher
impl Unpin for DeterministicHasher
impl UnwindSafe for DeterministicHasher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more