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