pub struct Hasher(/* private fields */);Expand description
A running hash.
Implementations§
Source§impl Hasher
impl Hasher
Sourcepub fn bytes(&mut self, bytes: &[u8])
pub fn bytes(&mut self, bytes: &[u8])
Takes bytes: each whole 8 bytes as a little-endian word, then the
rest one byte a word. Not their length: a caller that needs it
takes it too.
Trait Implementations§
impl Copy for Hasher
impl Eq for Hasher
impl StructuralPartialEq for Hasher
Auto Trait Implementations§
impl Freeze for Hasher
impl RefUnwindSafe for Hasher
impl Send for Hasher
impl Sync for Hasher
impl Unpin for Hasher
impl UnsafeUnpin for Hasher
impl UnwindSafe for Hasher
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