Struct plonk_wasm::plonk_proof::fp::WasmFpProverProof
source · pub struct WasmFpProverProof {
pub commitments: WasmFpProverCommitments,
pub proof: WasmFpOpeningProof,
pub evals: WasmFpProofEvaluations,
pub ft_eval1: WasmPastaFp,
pub public: WasmFlatVector<WasmPastaFp>,
pub prev_challenges_scalars: Vec<Vec<Fp>>,
pub prev_challenges_comms: WasmVector<WasmPolyComm>,
}
Fields§
§commitments: WasmFpProverCommitments
§proof: WasmFpOpeningProof
§evals: WasmFpProofEvaluations
§ft_eval1: WasmPastaFp
§public: WasmFlatVector<WasmPastaFp>
§prev_challenges_scalars: Vec<Vec<Fp>>
§prev_challenges_comms: WasmVector<WasmPolyComm>
Implementations§
source§impl WasmFpProverProof
impl WasmFpProverProof
pub fn new( commitments: WasmFpProverCommitments, proof: WasmFpOpeningProof, evals: WasmFpProofEvaluations, ft_eval1: WasmPastaFp, public_: WasmFlatVector<WasmPastaFp>, prev_challenges_scalars: WasmVecVecFp, prev_challenges_comms: WasmVector<WasmPolyComm> ) -> Self
pub fn commitments(&self) -> WasmFpProverCommitments
pub fn proof(&self) -> WasmFpOpeningProof
pub fn evals(&self) -> WasmFpProofEvaluations
pub fn public_(&self) -> WasmFlatVector<WasmPastaFp>
pub fn prev_challenges_scalars(&self) -> WasmVecVecFp
pub fn prev_challenges_comms(&self) -> WasmVector<WasmPolyComm>
pub fn set_commitments(&mut self, commitments: WasmFpProverCommitments)
pub fn set_proof(&mut self, proof: WasmFpOpeningProof)
pub fn set_evals(&mut self, evals: WasmFpProofEvaluations)
pub fn set_public_(&mut self, public_: WasmFlatVector<WasmPastaFp>)
pub fn set_prev_challenges_scalars( &mut self, prev_challenges_scalars: WasmVecVecFp )
pub fn set_prev_challenges_comms( &mut self, prev_challenges_comms: WasmVector<WasmPolyComm> )
pub fn serialize(&self) -> String
Trait Implementations§
source§impl From<&WasmFpProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fp>)
impl From<&WasmFpProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fp>)
source§fn from(x: &WasmFpProverProof) -> Self
fn from(x: &WasmFpProverProof) -> Self
Converts to this type from the input type.
source§impl From<(&ProverProof<Affine<VestaParameters>, OpeningProof<Affine<VestaParameters>>>, &Vec<Fp<MontBackend<FqConfig, 4>, 4>, Global>)> for WasmFpProverProof
impl From<(&ProverProof<Affine<VestaParameters>, OpeningProof<Affine<VestaParameters>>>, &Vec<Fp<MontBackend<FqConfig, 4>, 4>, Global>)> for WasmFpProverProof
source§impl From<(ProverProof<Affine<VestaParameters>, OpeningProof<Affine<VestaParameters>>>, Vec<Fp<MontBackend<FqConfig, 4>, 4>, Global>)> for WasmFpProverProof
impl From<(ProverProof<Affine<VestaParameters>, OpeningProof<Affine<VestaParameters>>>, Vec<Fp<MontBackend<FqConfig, 4>, 4>, Global>)> for WasmFpProverProof
source§impl From<WasmFpProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fp>)
impl From<WasmFpProverProof> for (ProverProof<GAffine, OpeningProof<GAffine>>, Vec<Fp>)
source§fn from(x: WasmFpProverProof) -> Self
fn from(x: WasmFpProverProof) -> Self
Converts to this type from the input type.
source§impl From<WasmFpProverProof> for JsValue
impl From<WasmFpProverProof> for JsValue
source§fn from(value: WasmFpProverProof) -> Self
fn from(value: WasmFpProverProof) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpProverProof
impl FromWasmAbi for WasmFpProverProof
source§impl IntoWasmAbi for WasmFpProverProof
impl IntoWasmAbi for WasmFpProverProof
source§impl RefFromWasmAbi for WasmFpProverProof
impl RefFromWasmAbi for WasmFpProverProof
§type Anchor = Ref<'static, WasmFpProverProof>
type Anchor = Ref<'static, WasmFpProverProof>
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 WasmFpProverProof
impl Send for WasmFpProverProof
impl Sync for WasmFpProverProof
impl Unpin for WasmFpProverProof
impl UnwindSafe for WasmFpProverProof
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
.