Struct hash_combine::CombineHasher
source · pub struct CombineHasher { /* private fields */ }
Expand description
struct CombineHasher
Implementations§
Trait Implementations§
source§impl Clone for CombineHasher
impl Clone for CombineHasher
source§fn clone(&self) -> CombineHasher
fn clone(&self) -> CombineHasher
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 CombineHasher
impl Debug for CombineHasher
source§impl Default for CombineHasher
impl Default for CombineHasher
source§fn default() -> CombineHasher
fn default() -> CombineHasher
Returns the “default value” for a type. Read more
source§impl Hash for CombineHasher
impl Hash for CombineHasher
source§impl Hasher for CombineHasher
impl Hasher for CombineHasher
1.26.0 · source§fn write_u128(&mut self, i: u128)
fn write_u128(&mut self, i: u128)
Writes a single
u128
into this hasher.1.3.0 · source§fn write_usize(&mut self, i: usize)
fn write_usize(&mut self, i: usize)
Writes a single
usize
into this hasher.1.26.0 · source§fn write_i128(&mut self, i: i128)
fn write_i128(&mut self, i: i128)
Writes a single
i128
into this hasher.1.3.0 · 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 Ord for CombineHasher
impl Ord for CombineHasher
source§fn cmp(&self, other: &CombineHasher) -> Ordering
fn cmp(&self, other: &CombineHasher) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CombineHasher
impl PartialEq for CombineHasher
source§fn eq(&self, other: &CombineHasher) -> bool
fn eq(&self, other: &CombineHasher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CombineHasher
impl PartialOrd for CombineHasher
source§fn partial_cmp(&self, other: &CombineHasher) -> Option<Ordering>
fn partial_cmp(&self, other: &CombineHasher) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CombineHasher
impl Eq for CombineHasher
impl StructuralPartialEq for CombineHasher
Auto Trait Implementations§
impl Freeze for CombineHasher
impl RefUnwindSafe for CombineHasher
impl Send for CombineHasher
impl Sync for CombineHasher
impl Unpin for CombineHasher
impl UnwindSafe for CombineHasher
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