pub struct DoubleHashHasher<T, H1, H2> { /* private fields */ }Expand description
Enhanced double hashing hasher.
Emits an iterator (for a given input key) over hash values generated using enhanced double hashing.
Implementations§
Source§impl<H1, H2> DoubleHashHasher<u32, H1, H2>
impl<H1, H2> DoubleHashHasher<u32, H1, H2>
pub fn with_hash_builders(hash_builder1: H1, hash_builder2: H2, n: u32) -> Self
Source§impl<H1, H2> DoubleHashHasher<u64, H1, H2>
impl<H1, H2> DoubleHashHasher<u64, H1, H2>
pub fn with_hash_builders(hash_builder1: H1, hash_builder2: H2, n: u64) -> Self
Source§impl<H1, H2> DoubleHashHasher<u128, H1, H2>
impl<H1, H2> DoubleHashHasher<u128, H1, H2>
pub fn with_hash_builders(hash_builder1: H1, hash_builder2: H2, n: u128) -> Self
Trait Implementations§
Source§impl<T: Clone, H1: Clone, H2: Clone> Clone for DoubleHashHasher<T, H1, H2>
impl<T: Clone, H1: Clone, H2: Clone> Clone for DoubleHashHasher<T, H1, H2>
Source§fn clone(&self) -> DoubleHashHasher<T, H1, H2>
fn clone(&self) -> DoubleHashHasher<T, H1, H2>
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<H1, H2> HashIterHasher<u128> for DoubleHashHasher<u128, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
impl<H1, H2> HashIterHasher<u128> for DoubleHashHasher<u128, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
Source§impl<H1, H2> HashIterHasher<u32> for DoubleHashHasher<u32, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
impl<H1, H2> HashIterHasher<u32> for DoubleHashHasher<u32, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
Source§impl<H1, H2> HashIterHasher<u64> for DoubleHashHasher<u64, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
impl<H1, H2> HashIterHasher<u64> for DoubleHashHasher<u64, H1, H2>where
H1: BuildHasher,
H2: BuildHasher,
impl<T: Copy, H1: Copy, H2: Copy> Copy for DoubleHashHasher<T, H1, H2>
Auto Trait Implementations§
impl<T, H1, H2> Freeze for DoubleHashHasher<T, H1, H2>
impl<T, H1, H2> RefUnwindSafe for DoubleHashHasher<T, H1, H2>
impl<T, H1, H2> Send for DoubleHashHasher<T, H1, H2>
impl<T, H1, H2> Sync for DoubleHashHasher<T, H1, H2>
impl<T, H1, H2> Unpin for DoubleHashHasher<T, H1, H2>
impl<T, H1, H2> UnwindSafe for DoubleHashHasher<T, H1, H2>
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