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