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§
source§impl Clone for MultiFieldHasher
impl Clone for MultiFieldHasher
source§fn clone(&self) -> MultiFieldHasher
fn clone(&self) -> MultiFieldHasher
Returns a copy 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 MultiFieldHasher
impl Debug for MultiFieldHasher
source§impl Hasher for MultiFieldHasher
impl Hasher for MultiFieldHasher
source§fn write_u128(&mut self, i: u128)
fn write_u128(&mut self, i: u128)
Writes a single
u128
into this hasher.source§fn write_usize(&mut self, i: usize)
fn write_usize(&mut self, i: usize)
Writes a single
usize
into this hasher.source§fn write_i128(&mut self, i: i128)
fn write_i128(&mut self, i: i128)
Writes a single
i128
into this hasher.source§fn write_isize(&mut self, i: isize)
fn write_isize(&mut self, i: isize)
Writes a single
isize
into this hasher.source§fn 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
source§impl PartialEq<MultiFieldHasher> for MultiFieldHasher
impl PartialEq<MultiFieldHasher> for MultiFieldHasher
source§fn eq(&self, other: &MultiFieldHasher) -> bool
fn eq(&self, other: &MultiFieldHasher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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