pub struct Hash64;
Expand description
aHash
64-bit hash functions
§Example
use fasthash::{ahash::Hash64, FastHash};
assert_eq!(Hash64::hash(b"hello"), 15194610732995203403);
assert_eq!(Hash64::hash_with_seed(b"world", (123, 456)), 8477115286135125610);
assert_eq!(Hash64::hash(b"helloworld"), 4140107389523680759);
Trait Implementations§
Source§impl BuildHasher for Hash64
impl BuildHasher for Hash64
Auto Trait Implementations§
impl Freeze for Hash64
impl RefUnwindSafe for Hash64
impl Send for Hash64
impl Sync for Hash64
impl Unpin for Hash64
impl UnwindSafe for Hash64
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