Struct kimchi::snarky::poseidon::DuplexState
source · pub struct DuplexState<F>where
F: PrimeField,{ /* private fields */ }
Expand description
A duplex construction allows one to absorb and squeeze data alternatively.
Implementations§
source§impl<F> DuplexState<F>where
F: PrimeField,
impl<F> DuplexState<F>where F: PrimeField,
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for DuplexState<F>where F: RefUnwindSafe,
impl<F> Send for DuplexState<F>
impl<F> Sync for DuplexState<F>
impl<F> Unpin for DuplexState<F>where F: Unpin,
impl<F> UnwindSafe for DuplexState<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