Struct thincollections::thin_hasher::MultiFieldHasher
source · pub struct MultiFieldHasher { /* private fields */ }
Expand description
A hasher that should work a little bit better for multi-field custom keys.
Implementations
Trait Implementations
sourceimpl Clone for MultiFieldHasher
impl Clone for MultiFieldHasher
sourcefn clone(&self) -> MultiFieldHasher
fn clone(&self) -> MultiFieldHasher
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MultiFieldHasher
impl Debug for MultiFieldHasher
sourceimpl Hasher for MultiFieldHasher
impl Hasher for MultiFieldHasher
sourcefn write_u128(&mut self, i: u128)
fn write_u128(&mut self, i: u128)
Writes a single
u128
into this hasher.sourcefn write_usize(&mut self, i: usize)
fn write_usize(&mut self, i: usize)
Writes a single
usize
into this hasher.sourcefn write_i128(&mut self, i: i128)
fn write_i128(&mut self, i: i128)
Writes a single
i128
into this hasher.sourcefn write_isize(&mut self, i: isize)
fn write_isize(&mut self, i: isize)
Writes a single
isize
into this hasher.sourcefn write_length_prefix(&mut self, len: usize)
fn write_length_prefix(&mut self, len: usize)
🔬This is a nightly-only experimental API. (
hasher_prefixfree_extras
)Writes a length prefix into this hasher, as part of being prefix-free. Read more
sourceimpl PartialEq<MultiFieldHasher> for MultiFieldHasher
impl PartialEq<MultiFieldHasher> for MultiFieldHasher
sourcefn eq(&self, other: &MultiFieldHasher) -> bool
fn eq(&self, other: &MultiFieldHasher) -> bool
impl Eq for MultiFieldHasher
impl StructuralEq for MultiFieldHasher
impl StructuralPartialEq for MultiFieldHasher
Auto Trait Implementations
impl RefUnwindSafe for MultiFieldHasher
impl Send for MultiFieldHasher
impl Sync for MultiFieldHasher
impl Unpin for MultiFieldHasher
impl UnwindSafe for MultiFieldHasher
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more