Struct plonk_wasm::plonk_verifier_index::fp::WasmFpLookupSelectors
source · pub struct WasmFpLookupSelectors {
pub xor: Option<WasmPolyComm>,
pub lookup: Option<WasmPolyComm>,
pub range_check: Option<WasmPolyComm>,
pub ffmul: Option<WasmPolyComm>,
}
Fields§
§xor: Option<WasmPolyComm>
§lookup: Option<WasmPolyComm>
§range_check: Option<WasmPolyComm>
§ffmul: Option<WasmPolyComm>
Implementations§
source§impl WasmFpLookupSelectors
impl WasmFpLookupSelectors
pub fn new( xor: Option<WasmPolyComm>, lookup: Option<WasmPolyComm>, range_check: Option<WasmPolyComm>, ffmul: Option<WasmPolyComm> ) -> Self
pub fn xor(&self) -> Option<WasmPolyComm>
pub fn set_xor(&mut self, x: Option<WasmPolyComm>)
pub fn lookup(&self) -> Option<WasmPolyComm>
pub fn set_lookup(&mut self, x: Option<WasmPolyComm>)
pub fn ffmul(&self) -> Option<WasmPolyComm>
pub fn set_ffmul(&mut self, x: Option<WasmPolyComm>)
pub fn range_check(&self) -> Option<WasmPolyComm>
pub fn set_range_check(&mut self, x: Option<WasmPolyComm>)
Trait Implementations§
source§impl Clone for WasmFpLookupSelectors
impl Clone for WasmFpLookupSelectors
source§fn clone(&self) -> WasmFpLookupSelectors
fn clone(&self) -> WasmFpLookupSelectors
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<&LookupSelectors<PolyComm<Affine<VestaParameters>>>> for WasmFpLookupSelectors
impl From<&LookupSelectors<PolyComm<Affine<VestaParameters>>>> for WasmFpLookupSelectors
source§impl From<&WasmFpLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
impl From<&WasmFpLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
source§fn from(x: &WasmFpLookupSelectors) -> Self
fn from(x: &WasmFpLookupSelectors) -> Self
Converts to this type from the input type.
source§impl From<LookupSelectors<PolyComm<Affine<VestaParameters>>>> for WasmFpLookupSelectors
impl From<LookupSelectors<PolyComm<Affine<VestaParameters>>>> for WasmFpLookupSelectors
source§impl From<WasmFpLookupSelectors> for JsValue
impl From<WasmFpLookupSelectors> for JsValue
source§fn from(value: WasmFpLookupSelectors) -> Self
fn from(value: WasmFpLookupSelectors) -> Self
Converts to this type from the input type.
source§impl From<WasmFpLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
impl From<WasmFpLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
source§fn from(x: WasmFpLookupSelectors) -> Self
fn from(x: WasmFpLookupSelectors) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpLookupSelectors
impl FromWasmAbi for WasmFpLookupSelectors
source§impl IntoWasmAbi for WasmFpLookupSelectors
impl IntoWasmAbi for WasmFpLookupSelectors
source§impl RefFromWasmAbi for WasmFpLookupSelectors
impl RefFromWasmAbi for WasmFpLookupSelectors
§type Anchor = Ref<'static, WasmFpLookupSelectors>
type Anchor = Ref<'static, WasmFpLookupSelectors>
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 WasmFpLookupSelectors
impl Send for WasmFpLookupSelectors
impl Sync for WasmFpLookupSelectors
impl Unpin for WasmFpLookupSelectors
impl UnwindSafe for WasmFpLookupSelectors
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
.