pub struct VARUNA_FS_PARAMETERS { /* private fields */ }
Expand description
The Varuna sponge parameters.
Methods from Deref<Target = FiatShamirParameters<Testnet3>>§
sourcepub fn compress_elements<TargetField, I>(
&self,
src_limbs: Peekable<I>,
ty: OptimizationType
) -> Vec<F>where
TargetField: PrimeField,
I: Iterator<Item = (F, F)>,
pub fn compress_elements<TargetField, I>( &self, src_limbs: Peekable<I>, ty: OptimizationType ) -> Vec<F>where TargetField: PrimeField, I: Iterator<Item = (F, F)>,
Compress every two elements if possible. Provides a vector of (limb, num_of_additions), both of which are F.
Trait Implementations§
source§impl Deref for VARUNA_FS_PARAMETERS
impl Deref for VARUNA_FS_PARAMETERS
§type Target = <PoseidonSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2, 1> as AlgebraicSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2>>::Parameters
type Target = <PoseidonSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2, 1> as AlgebraicSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2>>::Parameters
The resulting type after dereferencing.
source§fn deref(&self) -> &FiatShamirParameters<Testnet3>
fn deref(&self) -> &FiatShamirParameters<Testnet3>
Dereferences the value.
impl LazyStatic for VARUNA_FS_PARAMETERS
Auto Trait Implementations§
impl RefUnwindSafe for VARUNA_FS_PARAMETERS
impl Send for VARUNA_FS_PARAMETERS
impl Sync for VARUNA_FS_PARAMETERS
impl Unpin for VARUNA_FS_PARAMETERS
impl UnwindSafe for VARUNA_FS_PARAMETERS
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