pub struct Hash32A;Expand description
MurmurHash2A 32-bit hash functions
§Example
use fasthash::{murmur2::Hash32A, FastHash};
assert_eq!(Hash32A::hash(b"hello"), 259931098);
assert_eq!(Hash32A::hash_with_seed(b"hello", 123), 509510832);
assert_eq!(Hash32A::hash(b"helloworld"), 403945221);Trait Implementations§
Source§impl BuildHasher for Hash32A
impl BuildHasher for Hash32A
Auto Trait Implementations§
impl Freeze for Hash32A
impl RefUnwindSafe for Hash32A
impl Send for Hash32A
impl Sync for Hash32A
impl Unpin for Hash32A
impl UnwindSafe for Hash32A
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