pub struct IdentityHasher<const S: usize> { /* private fields */ }
Expand description
Trait Implementations§
Source§impl<const S: usize> Debug for IdentityHasher<S>
impl<const S: usize> Debug for IdentityHasher<S>
Source§impl<const S: usize> Default for IdentityHasher<S>
impl<const S: usize> Default for IdentityHasher<S>
Source§impl<const S: usize> StatefulHasher<S> for IdentityHasher<S>
impl<const S: usize> StatefulHasher<S> for IdentityHasher<S>
Source§type Digest = IdentityDigest<S>
type Digest = IdentityDigest<S>
The maximum Digest size for that hasher (it is stack allocated).
The Digest type to distinguish the output of different
Hasher
implementations.Auto Trait Implementations§
impl<const S: usize> Freeze for IdentityHasher<S>
impl<const S: usize> RefUnwindSafe for IdentityHasher<S>
impl<const S: usize> Send for IdentityHasher<S>
impl<const S: usize> Sync for IdentityHasher<S>
impl<const S: usize> Unpin for IdentityHasher<S>
impl<const S: usize> UnwindSafe for IdentityHasher<S>
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
Source§impl<T, const S: usize> Hasher<S> for Twhere
T: StatefulHasher<S>,
impl<T, const S: usize> Hasher<S> for Twhere
T: StatefulHasher<S>,
Source§type Digest = <T as StatefulHasher<S>>::Digest
type Digest = <T as StatefulHasher<S>>::Digest
The maximum Digest size for that hasher (it is stack allocated).
The Digest type to distinguish the output of different
Hasher
implementations.