pub struct Mash { /* private fields */ }
Expand description
Alea specific string hash function, faithful to javascript outputs. Normally used privately, but can be used alone.
§Example
use alea_js::Mash;
let mut mash = Mash::new();
mash.hash("string to hash");
mash.hash("second string to hash");
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mash
impl RefUnwindSafe for Mash
impl Send for Mash
impl Sync for Mash
impl Unpin for Mash
impl UnwindSafe for Mash
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