pub struct ArithmeticSpongeParams<F: Field + CanonicalSerialize + CanonicalDeserialize, const FULL_ROUNDS: usize> {
pub round_constants: [[F; 3]; FULL_ROUNDS],
pub mds: [[F; 3]; 3],
}Fields§
§round_constants: [[F; 3]; FULL_ROUNDS]§mds: [[F; 3]; 3]Trait Implementations§
Source§impl<F: Clone + Field + CanonicalSerialize + CanonicalDeserialize, const FULL_ROUNDS: usize> Clone for ArithmeticSpongeParams<F, FULL_ROUNDS>
impl<F: Clone + Field + CanonicalSerialize + CanonicalDeserialize, const FULL_ROUNDS: usize> Clone for ArithmeticSpongeParams<F, FULL_ROUNDS>
Source§fn clone(&self) -> ArithmeticSpongeParams<F, FULL_ROUNDS>
fn clone(&self) -> ArithmeticSpongeParams<F, FULL_ROUNDS>
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<F: Debug + Field + CanonicalSerialize + CanonicalDeserialize, const FULL_ROUNDS: usize> Debug for ArithmeticSpongeParams<F, FULL_ROUNDS>
impl<F: Debug + Field + CanonicalSerialize + CanonicalDeserialize, const FULL_ROUNDS: usize> Debug for ArithmeticSpongeParams<F, FULL_ROUNDS>
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<F, const FULL_ROUNDS: usize> Freeze for ArithmeticSpongeParams<F, FULL_ROUNDS>where
F: Freeze,
impl<F, const FULL_ROUNDS: usize> RefUnwindSafe for ArithmeticSpongeParams<F, FULL_ROUNDS>where
F: RefUnwindSafe,
impl<F, const FULL_ROUNDS: usize> Send for ArithmeticSpongeParams<F, FULL_ROUNDS>
impl<F, const FULL_ROUNDS: usize> Sync for ArithmeticSpongeParams<F, FULL_ROUNDS>
impl<F, const FULL_ROUNDS: usize> Unpin for ArithmeticSpongeParams<F, FULL_ROUNDS>where
F: Unpin,
impl<F, const FULL_ROUNDS: usize> UnwindSafe for ArithmeticSpongeParams<F, FULL_ROUNDS>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