pub struct Hash64_x86;Expand description
MurmurHash2 64-bit hash functions for 32-bit processors
§Example
use fasthash::{murmur2::Hash64_x86, FastHash};
assert_eq!(Hash64_x86::hash(b"hello"), 17658855022785723775);
assert_eq!(
Hash64_x86::hash_with_seed(b"hello", 123),
1883382312211796549
);
assert_eq!(Hash64_x86::hash(b"helloworld"), 14017254558097603378);Trait Implementations§
Source§impl BuildHasher for Hash64_x86
impl BuildHasher for Hash64_x86
Source§impl Clone for Hash64_x86
impl Clone for Hash64_x86
Source§fn clone(&self) -> Hash64_x86
fn clone(&self) -> Hash64_x86
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 Default for Hash64_x86
impl Default for Hash64_x86
Source§fn default() -> Hash64_x86
fn default() -> Hash64_x86
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Hash64_x86
impl RefUnwindSafe for Hash64_x86
impl Send for Hash64_x86
impl Sync for Hash64_x86
impl Unpin for Hash64_x86
impl UnwindSafe for Hash64_x86
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