pub struct PoseidonSpongeState<F: PrimeField> { /* private fields */ }Expand description
Stores the state of a Poseidon Sponge. Does not store any parameter.
Trait Implementations§
Source§impl<F: Clone + PrimeField> Clone for PoseidonSpongeState<F>
impl<F: Clone + PrimeField> Clone for PoseidonSpongeState<F>
Source§fn clone(&self) -> PoseidonSpongeState<F>
fn clone(&self) -> PoseidonSpongeState<F>
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 moreAuto Trait Implementations§
impl<F> Freeze for PoseidonSpongeState<F>
impl<F> RefUnwindSafe for PoseidonSpongeState<F>where
F: RefUnwindSafe,
impl<F> Send for PoseidonSpongeState<F>
impl<F> Sync for PoseidonSpongeState<F>
impl<F> Unpin for PoseidonSpongeState<F>where
F: Unpin,
impl<F> UnwindSafe for PoseidonSpongeState<F>where
F: UnwindSafe,
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