pub struct Hash64_x64;Expand description
MurmurHash2 64-bit hash functions for 64-bit processors
§Example
use fasthash::{murmur2::Hash64_x64, FastHash};
assert_eq!(Hash64_x64::hash(b"hello"), 2191231550387646743);
assert_eq!(
Hash64_x64::hash_with_seed(b"hello", 123),
2597646618390559622
);
assert_eq!(Hash64_x64::hash(b"helloworld"), 2139823713852166039);Trait Implementations§
Source§impl BuildHasher for Hash64_x64
impl BuildHasher for Hash64_x64
Auto Trait Implementations§
impl Freeze for Hash64_x64
impl RefUnwindSafe for Hash64_x64
impl Send for Hash64_x64
impl Sync for Hash64_x64
impl Unpin for Hash64_x64
impl UnsafeUnpin for Hash64_x64
impl UnwindSafe for Hash64_x64
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