pub struct WasmFqPlonkVerifierIndex {
pub domain: WasmFqDomain,
pub max_poly_size: i32,
pub public_: i32,
pub prev_challenges: i32,
pub srs: WasmFqSrs,
pub evals: WasmFqPlonkVerificationEvals,
pub shifts: WasmFqShifts,
pub lookup_index: Option<WasmFqLookupVerifierIndex>,
pub zk_rows: isize,
}
Fields§
§domain: WasmFqDomain
§max_poly_size: i32
§public_: i32
§prev_challenges: i32
§srs: WasmFqSrs
§evals: WasmFqPlonkVerificationEvals
§shifts: WasmFqShifts
§lookup_index: Option<WasmFqLookupVerifierIndex>
§zk_rows: isize
Implementations§
source§impl WasmFqPlonkVerifierIndex
impl WasmFqPlonkVerifierIndex
pub fn new( domain: &WasmFqDomain, max_poly_size: i32, public_: i32, prev_challenges: i32, srs: &WasmFqSrs, evals: &WasmFqPlonkVerificationEvals, shifts: &WasmFqShifts, lookup_index: Option<WasmFqLookupVerifierIndex>, zk_rows: isize ) -> Self
pub fn srs(&self) -> WasmFqSrs
pub fn set_srs(&mut self, x: WasmFqSrs)
pub fn evals(&self) -> WasmFqPlonkVerificationEvals
pub fn set_evals(&mut self, x: WasmFqPlonkVerificationEvals)
pub fn lookup_index(&self) -> Option<WasmFqLookupVerifierIndex>
pub fn set_lookup_index(&mut self, li: Option<WasmFqLookupVerifierIndex>)
Trait Implementations§
source§impl Clone for WasmFqPlonkVerifierIndex
impl Clone for WasmFqPlonkVerifierIndex
source§fn clone(&self) -> WasmFqPlonkVerifierIndex
fn clone(&self) -> WasmFqPlonkVerifierIndex
Returns a copy 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<WasmFqPlonkVerifierIndex> for DlogVerifierIndex<GAffine, OpeningProof<GAffine>>
impl From<WasmFqPlonkVerifierIndex> for DlogVerifierIndex<GAffine, OpeningProof<GAffine>>
source§fn from(index: WasmFqPlonkVerifierIndex) -> Self
fn from(index: WasmFqPlonkVerifierIndex) -> Self
Converts to this type from the input type.
source§impl From<WasmFqPlonkVerifierIndex> for JsValue
impl From<WasmFqPlonkVerifierIndex> for JsValue
source§fn from(value: WasmFqPlonkVerifierIndex) -> Self
fn from(value: WasmFqPlonkVerifierIndex) -> Self
Converts to this type from the input type.
source§impl RefFromWasmAbi for WasmFqPlonkVerifierIndex
impl RefFromWasmAbi for WasmFqPlonkVerifierIndex
§type Anchor = Ref<'static, WasmFqPlonkVerifierIndex>
type Anchor = Ref<'static, WasmFqPlonkVerifierIndex>
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 WasmFqPlonkVerifierIndex
impl Send for WasmFqPlonkVerifierIndex
impl Sync for WasmFqPlonkVerifierIndex
impl Unpin for WasmFqPlonkVerifierIndex
impl UnwindSafe for WasmFqPlonkVerifierIndex
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
.