Struct jumphash::JumpHasher
source · pub struct JumpHasher { /* private fields */ }
Implementations
sourceimpl JumpHasher
impl JumpHasher
sourcepub fn new() -> JumpHasher
pub fn new() -> JumpHasher
Returns a non-deterministic JumpHasher
structure.
sourcepub fn new_with_keys(k1: u64, k2: u64) -> JumpHasher
pub fn new_with_keys(k1: u64, k2: u64) -> JumpHasher
Returns a deterministic JumpHasher
structure, seeded with two 64-bit keys.
Trait Implementations
sourceimpl Clone for JumpHasher
impl Clone for JumpHasher
sourcefn clone(&self) -> JumpHasher
fn clone(&self) -> JumpHasher
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 JumpHasher
impl Debug for JumpHasher
sourceimpl Default for JumpHasher
impl Default for JumpHasher
sourcefn default() -> JumpHasher
fn default() -> JumpHasher
Returns a non-deterministic JumpHasher
structure.
impl Copy for JumpHasher
Auto Trait Implementations
impl RefUnwindSafe for JumpHasher
impl Send for JumpHasher
impl Sync for JumpHasher
impl Unpin for JumpHasher
impl UnwindSafe for JumpHasher
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