Struct thincollections::thin_hasher::OneFieldHasher
source · pub struct OneFieldHasher { /* private fields */ }
Expand description
The default hasher used by ThinMap
/ThinSet
. Resilient and fast.
Implementations
sourceimpl OneFieldHasher
impl OneFieldHasher
Trait Implementations
sourceimpl Clone for OneFieldHasher
impl Clone for OneFieldHasher
sourcefn clone(&self) -> OneFieldHasher
fn clone(&self) -> OneFieldHasher
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 OneFieldHasher
impl Debug for OneFieldHasher
sourceimpl Hasher for OneFieldHasher
impl Hasher for OneFieldHasher
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<OneFieldHasher> for OneFieldHasher
impl PartialEq<OneFieldHasher> for OneFieldHasher
sourcefn eq(&self, other: &OneFieldHasher) -> bool
fn eq(&self, other: &OneFieldHasher) -> bool
impl Eq for OneFieldHasher
impl StructuralEq for OneFieldHasher
impl StructuralPartialEq for OneFieldHasher
Auto Trait Implementations
impl RefUnwindSafe for OneFieldHasher
impl Send for OneFieldHasher
impl Sync for OneFieldHasher
impl Unpin for OneFieldHasher
impl UnwindSafe for OneFieldHasher
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