pub struct Blake2Hasher { /* private fields */ }Expand description
A stateful hasher for Starknet Blake2s hash.
Using this hasher is the same as calling blake2s_hash_many.
Implementations§
Trait Implementations§
Source§impl Clone for Blake2Hasher
impl Clone for Blake2Hasher
Source§fn clone(&self) -> Blake2Hasher
fn clone(&self) -> Blake2Hasher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Blake2Hasher
impl Debug for Blake2Hasher
Source§impl Default for Blake2Hasher
impl Default for Blake2Hasher
Source§fn default() -> Blake2Hasher
fn default() -> Blake2Hasher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Blake2Hasher
impl RefUnwindSafe for Blake2Hasher
impl Send for Blake2Hasher
impl Sync for Blake2Hasher
impl Unpin for Blake2Hasher
impl UnwindSafe for Blake2Hasher
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