pub struct LengthHasher;Expand description
Returns the value’s length as the hash.
This type is an implementation detail of the `frozen_collections` crate.
This API is therefore not stable and may change at any time. Please do not
use this type directly, and instead use the public API provided by the
`frozen_collections` crate.
Trait Implementations§
Source§impl Clone for LengthHasher
impl Clone for LengthHasher
Source§fn clone(&self) -> LengthHasher
fn clone(&self) -> LengthHasher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LengthHasher
impl Debug for LengthHasher
Source§impl Default for LengthHasher
impl Default for LengthHasher
Source§fn default() -> LengthHasher
fn default() -> LengthHasher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LengthHasher
impl RefUnwindSafe for LengthHasher
impl Send for LengthHasher
impl Sync for LengthHasher
impl Unpin for LengthHasher
impl UnsafeUnpin for LengthHasher
impl UnwindSafe for LengthHasher
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