Struct plonk_wasm::plonk_proof::fq::WasmFqProverProof
source · pub struct WasmFqProverProof {
pub commitments: WasmFqProverCommitments,
pub proof: WasmFqOpeningProof,
pub evals: WasmFqProofEvaluations,
pub ft_eval1: WasmPastaFq,
pub public: WasmFlatVector<WasmPastaFq>,
pub prev_challenges_scalars: Vec<Vec<Fq>>,
pub prev_challenges_comms: WasmVector<WasmPolyComm>,
}
Fields§
§commitments: WasmFqProverCommitments
§proof: WasmFqOpeningProof
§evals: WasmFqProofEvaluations
§ft_eval1: WasmPastaFq
§public: WasmFlatVector<WasmPastaFq>
§prev_challenges_scalars: Vec<Vec<Fq>>
§prev_challenges_comms: WasmVector<WasmPolyComm>
Implementations§
source§impl WasmFqProverProof
impl WasmFqProverProof
pub fn new( commitments: WasmFqProverCommitments, proof: WasmFqOpeningProof, evals: WasmFqProofEvaluations, ft_eval1: WasmPastaFq, public_: WasmFlatVector<WasmPastaFq>, prev_challenges_scalars: WasmVecVecFq, prev_challenges_comms: WasmVector<WasmPolyComm> ) -> Self
pub fn commitments(&self) -> WasmFqProverCommitments
pub fn proof(&self) -> WasmFqOpeningProof
pub fn evals(&self) -> WasmFqProofEvaluations
pub fn public_(&self) -> WasmFlatVector<WasmPastaFq>
pub fn prev_challenges_scalars(&self) -> WasmVecVecFq
pub fn prev_challenges_comms(&self) -> WasmVector<WasmPolyComm>
pub fn set_commitments(&mut self, commitments: WasmFqProverCommitments)
pub fn set_proof(&mut self, proof: WasmFqOpeningProof)
pub fn set_evals(&mut self, evals: WasmFqProofEvaluations)
pub fn set_public_(&mut self, public_: WasmFlatVector<WasmPastaFq>)
pub fn set_prev_challenges_scalars( &mut self, prev_challenges_scalars: WasmVecVecFq )
pub fn set_prev_challenges_comms( &mut self, prev_challenges_comms: WasmVector<WasmPolyComm> )
pub fn serialize(&self) -> String
Trait Implementations§
source§impl From<&WasmFqProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fq>)
impl From<&WasmFqProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fq>)
source§fn from(x: &WasmFqProverProof) -> Self
fn from(x: &WasmFqProverProof) -> Self
Converts to this type from the input type.
source§impl From<(&ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>>>, &Vec<Fp<MontBackend<FrConfig, 4>, 4>, Global>)> for WasmFqProverProof
impl From<(&ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>>>, &Vec<Fp<MontBackend<FrConfig, 4>, 4>, Global>)> for WasmFqProverProof
source§impl From<(ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>>>, Vec<Fp<MontBackend<FrConfig, 4>, 4>, Global>)> for WasmFqProverProof
impl From<(ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>>>, Vec<Fp<MontBackend<FrConfig, 4>, 4>, Global>)> for WasmFqProverProof
source§impl From<WasmFqProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fq>)
impl From<WasmFqProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fq>)
source§fn from(x: WasmFqProverProof) -> Self
fn from(x: WasmFqProverProof) -> Self
Converts to this type from the input type.
source§impl From<WasmFqProverProof> for JsValue
impl From<WasmFqProverProof> for JsValue
source§fn from(value: WasmFqProverProof) -> Self
fn from(value: WasmFqProverProof) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFqProverProof
impl FromWasmAbi for WasmFqProverProof
source§impl IntoWasmAbi for WasmFqProverProof
impl IntoWasmAbi for WasmFqProverProof
source§impl RefFromWasmAbi for WasmFqProverProof
impl RefFromWasmAbi for WasmFqProverProof
§type Anchor = Ref<'static, WasmFqProverProof>
type Anchor = Ref<'static, WasmFqProverProof>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Auto Trait Implementations§
impl RefUnwindSafe for WasmFqProverProof
impl Send for WasmFqProverProof
impl Sync for WasmFqProverProof
impl Unpin for WasmFqProverProof
impl UnwindSafe for WasmFqProverProof
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.