pub struct DoubleRollingHash {
pub pub_b1: u64,
pub pub_b2: u64,
pub pub_m1: u64,
pub pub_m2: u64,
/* private fields */
}Expand description
Two-modulus rolling hash with combine/equal-friendly semantics.
Fields§
§pub_b1: u64Base for the first hash stream (exposed for advanced users).
pub_b2: u64Base for the second hash stream.
pub_m1: u64Modulus for the first hash stream.
pub_m2: u64Modulus for the second hash stream.
Implementations§
Trait Implementations§
Source§impl Clone for DoubleRollingHash
impl Clone for DoubleRollingHash
Source§fn clone(&self) -> DoubleRollingHash
fn clone(&self) -> DoubleRollingHash
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 moreAuto Trait Implementations§
impl Freeze for DoubleRollingHash
impl RefUnwindSafe for DoubleRollingHash
impl Send for DoubleRollingHash
impl Sync for DoubleRollingHash
impl Unpin for DoubleRollingHash
impl UnsafeUnpin for DoubleRollingHash
impl UnwindSafe for DoubleRollingHash
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