pub struct NapiFqProverProof {
pub commitments: NapiFqProverCommitments,
pub proof: NapiFqOpeningProof,
pub evals: NapiFqProofEvaluations,
pub ft_eval1: NapiPastaFq,
pub public: NapiFlatVector<NapiPastaFq>,
pub prev_challenges_scalars: NapiVecVecFq,
pub prev_challenges_comms: NapiVector<NapiFqPolyComm>,
}Fields§
§commitments: NapiFqProverCommitments§proof: NapiFqOpeningProof§evals: NapiFqProofEvaluations§ft_eval1: NapiPastaFq§public: NapiFlatVector<NapiPastaFq>§prev_challenges_scalars: NapiVecVecFq§prev_challenges_comms: NapiVector<NapiFqPolyComm>Implementations§
Source§impl NapiFqProverProof
impl NapiFqProverProof
pub fn new( commitments: NapiFqProverCommitments, proof: NapiFqOpeningProof, evals: NapiFqProofEvaluations, ft_eval1: NapiPastaFq, public_: NapiFlatVector<NapiPastaFq>, prev_challenges_scalars: NapiVecVecFq, prev_challenges_comms: NapiVector<NapiFqPolyComm>, ) -> Self
pub fn commitments(&self) -> NapiFqProverCommitments
pub fn proof(&self) -> NapiFqOpeningProof
pub fn evals(&self) -> NapiFqProofEvaluations
pub fn ft_eval1(&self) -> NapiPastaFq
pub fn public_(&self) -> NapiFlatVector<NapiPastaFq>
pub fn prev_challenges_scalars(&self) -> NapiVecVecFq
pub fn prev_challenges_comms(&self) -> NapiVector<NapiFqPolyComm>
pub fn set_commitments(&mut self, commitments: NapiFqProverCommitments)
pub fn set_proof(&mut self, proof: NapiFqOpeningProof)
pub fn set_evals(&mut self, evals: NapiFqProofEvaluations)
pub fn set_ft_eval1(&mut self, ft_eval1: NapiPastaFq)
pub fn set_public_(&mut self, public_: NapiFlatVector<NapiPastaFq>)
pub fn set_prev_challenges_scalars( &mut self, prev_challenges_scalars: NapiVecVecFq, )
pub fn set_prev_challenges_comms( &mut self, prev_challenges_comms: NapiVector<NapiFqPolyComm>, )
pub fn serialize(&self) -> String
Trait Implementations§
Source§impl Clone for NapiFqProverProof
impl Clone for NapiFqProverProof
Source§fn clone(&self) -> NapiFqProverProof
fn clone(&self) -> NapiFqProverProof
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 From<&NapiFqProverProof> for (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>)
impl From<&NapiFqProverProof> for (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>)
Source§fn from(x: &NapiFqProverProof) -> Self
fn from(x: &NapiFqProverProof) -> Self
Converts to this type from the input type.
Source§impl From<(&ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>, FULL_ROUNDS>, &Vec<Fp<MontBackend<FrConfig, 4>, 4>>)> for NapiFqProverProof
impl From<(&ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>, FULL_ROUNDS>, &Vec<Fp<MontBackend<FrConfig, 4>, 4>>)> for NapiFqProverProof
Source§fn from(
(proof, public): (&ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, &Vec<Fq>),
) -> Self
fn from( (proof, public): (&ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, &Vec<Fq>), ) -> Self
Converts to this type from the input type.
Source§impl From<(ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fp<MontBackend<FrConfig, 4>, 4>>)> for NapiFqProverProof
impl From<(ProverProof<Affine<PallasParameters>, OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fp<MontBackend<FrConfig, 4>, 4>>)> for NapiFqProverProof
Source§fn from(
(proof, public): (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>),
) -> Self
fn from( (proof, public): (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>), ) -> Self
Converts to this type from the input type.
Source§impl From<NapiFqProverProof> for (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>)
impl From<NapiFqProverProof> for (ProverProof<Pallas, OpeningProof<Pallas, FULL_ROUNDS>, FULL_ROUNDS>, Vec<Fq>)
Source§fn from(x: NapiFqProverProof) -> Self
fn from(x: NapiFqProverProof) -> Self
Converts to this type from the input type.
Source§impl FromNapiMutRef for NapiFqProverProof
impl FromNapiMutRef for NapiFqProverProof
Source§unsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static mut Self>
unsafe fn from_napi_mut_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static mut Self>
Safety Read more
Source§impl FromNapiRef for NapiFqProverProof
impl FromNapiRef for NapiFqProverProof
Source§unsafe fn from_napi_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static Self>
unsafe fn from_napi_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static Self>
Safety Read more
Source§impl FromNapiValue for NapiFqProverProof
impl FromNapiValue for NapiFqProverProof
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl JavaScriptClassExt for NapiFqProverProof
impl JavaScriptClassExt for NapiFqProverProof
fn into_instance<'scope>( self, env: &'scope Env, ) -> Result<ClassInstance<'scope, Self>>
fn into_reference(self, env: Env) -> Result<Reference<Self>>
fn instance_of<'env, V: JsValue<'env>>(env: &Env, value: &V) -> Result<bool>
Source§impl ToNapiValue for NapiFqProverProof
impl ToNapiValue for NapiFqProverProof
Source§unsafe fn to_napi_value(
env: napi_env,
val: NapiFqProverProof,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NapiFqProverProof, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for &NapiFqProverProof
impl TypeName for &NapiFqProverProof
Source§impl TypeName for &mut NapiFqProverProof
impl TypeName for &mut NapiFqProverProof
Source§impl TypeName for NapiFqProverProof
impl TypeName for NapiFqProverProof
Source§impl ValidateNapiValue for &NapiFqProverProof
impl ValidateNapiValue for &NapiFqProverProof
Auto Trait Implementations§
impl Freeze for NapiFqProverProof
impl RefUnwindSafe for NapiFqProverProof
impl Send for NapiFqProverProof
impl Sync for NapiFqProverProof
impl Unpin for NapiFqProverProof
impl UnsafeUnpin for NapiFqProverProof
impl UnwindSafe for NapiFqProverProof
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