pub struct Hash32Aligned;Expand description
MurmurHash 32-bit aligned hash functions
§Example
use fasthash::{murmur::Hash32Aligned, FastHash};
assert_eq!(Hash32Aligned::hash(b"hello"), 1773990585);
assert_eq!(Hash32Aligned::hash_with_seed(b"hello", 123), 2155802495);
assert_eq!(Hash32Aligned::hash(b"helloworld"), 567127608);Trait Implementations§
Source§impl BuildHasher for Hash32Aligned
impl BuildHasher for Hash32Aligned
Auto Trait Implementations§
impl Freeze for Hash32Aligned
impl RefUnwindSafe for Hash32Aligned
impl Send for Hash32Aligned
impl Sync for Hash32Aligned
impl Unpin for Hash32Aligned
impl UnsafeUnpin for Hash32Aligned
impl UnwindSafe for Hash32Aligned
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