pub struct DefaultFrSponge<Fr: Field, SC: SpongeConstants, const FULL_ROUNDS: usize> {
pub sponge: ArithmeticSponge<Fr, SC, FULL_ROUNDS>,
pub last_squeezed: Vec<u64>,
}Fields§
§sponge: ArithmeticSponge<Fr, SC, FULL_ROUNDS>§last_squeezed: Vec<u64>Implementations§
Source§impl<Fr: PrimeField, SC: SpongeConstants, const FULL_ROUNDS: usize> DefaultFrSponge<Fr, SC, FULL_ROUNDS>
impl<Fr: PrimeField, SC: SpongeConstants, const FULL_ROUNDS: usize> DefaultFrSponge<Fr, SC, FULL_ROUNDS>
Trait Implementations§
Source§impl<const FULL_ROUNDS: usize, Fr> From<&'static ArithmeticSpongeParams<Fr, FULL_ROUNDS>> for DefaultFrSponge<Fr, PlonkSpongeConstantsKimchi, FULL_ROUNDS>where
Fr: PrimeField,
impl<const FULL_ROUNDS: usize, Fr> From<&'static ArithmeticSpongeParams<Fr, FULL_ROUNDS>> for DefaultFrSponge<Fr, PlonkSpongeConstantsKimchi, FULL_ROUNDS>where
Fr: PrimeField,
Source§fn from(p: &'static ArithmeticSpongeParams<Fr, FULL_ROUNDS>) -> Self
fn from(p: &'static ArithmeticSpongeParams<Fr, FULL_ROUNDS>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Fr, SC, const FULL_ROUNDS: usize> Freeze for DefaultFrSponge<Fr, SC, FULL_ROUNDS>
impl<Fr, SC, const FULL_ROUNDS: usize> RefUnwindSafe for DefaultFrSponge<Fr, SC, FULL_ROUNDS>where
SC: RefUnwindSafe,
Fr: RefUnwindSafe,
impl<Fr, SC, const FULL_ROUNDS: usize> Send for DefaultFrSponge<Fr, SC, FULL_ROUNDS>where
SC: Send,
impl<Fr, SC, const FULL_ROUNDS: usize> Sync for DefaultFrSponge<Fr, SC, FULL_ROUNDS>where
SC: Sync,
impl<Fr, SC, const FULL_ROUNDS: usize> Unpin for DefaultFrSponge<Fr, SC, FULL_ROUNDS>
impl<Fr, SC, const FULL_ROUNDS: usize> UnwindSafe for DefaultFrSponge<Fr, SC, FULL_ROUNDS>
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