pub struct PoseidonHasher { /* private fields */ }
Expand description
A stateful hasher for Starknet Poseidon hash.
Using this hasher is the same as calling poseidon_hash_many
.
Implementations§
Trait Implementations§
Source§impl Debug for PoseidonHasher
impl Debug for PoseidonHasher
Source§impl Default for PoseidonHasher
impl Default for PoseidonHasher
Source§fn default() -> PoseidonHasher
fn default() -> PoseidonHasher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PoseidonHasher
impl RefUnwindSafe for PoseidonHasher
impl Send for PoseidonHasher
impl Sync for PoseidonHasher
impl Unpin for PoseidonHasher
impl UnwindSafe for PoseidonHasher
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