Struct plonk_wasm::plonk_verifier_index::fq::WasmFqLookupSelectors
source · pub struct WasmFqLookupSelectors {
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 WasmFqLookupSelectors
impl WasmFqLookupSelectors
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 WasmFqLookupSelectors
impl Clone for WasmFqLookupSelectors
source§fn clone(&self) -> WasmFqLookupSelectors
fn clone(&self) -> WasmFqLookupSelectors
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<PallasParameters>>>> for WasmFqLookupSelectors
impl From<&LookupSelectors<PolyComm<Affine<PallasParameters>>>> for WasmFqLookupSelectors
source§impl From<&WasmFqLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
impl From<&WasmFqLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
source§fn from(x: &WasmFqLookupSelectors) -> Self
fn from(x: &WasmFqLookupSelectors) -> Self
Converts to this type from the input type.
source§impl From<LookupSelectors<PolyComm<Affine<PallasParameters>>>> for WasmFqLookupSelectors
impl From<LookupSelectors<PolyComm<Affine<PallasParameters>>>> for WasmFqLookupSelectors
source§impl From<WasmFqLookupSelectors> for JsValue
impl From<WasmFqLookupSelectors> for JsValue
source§fn from(value: WasmFqLookupSelectors) -> Self
fn from(value: WasmFqLookupSelectors) -> Self
Converts to this type from the input type.
source§impl From<WasmFqLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
impl From<WasmFqLookupSelectors> for LookupSelectors<PolyComm<GAffine>>
source§fn from(x: WasmFqLookupSelectors) -> Self
fn from(x: WasmFqLookupSelectors) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFqLookupSelectors
impl FromWasmAbi for WasmFqLookupSelectors
source§impl IntoWasmAbi for WasmFqLookupSelectors
impl IntoWasmAbi for WasmFqLookupSelectors
source§impl RefFromWasmAbi for WasmFqLookupSelectors
impl RefFromWasmAbi for WasmFqLookupSelectors
§type Anchor = Ref<'static, WasmFqLookupSelectors>
type Anchor = Ref<'static, WasmFqLookupSelectors>
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 WasmFqLookupSelectors
impl Send for WasmFqLookupSelectors
impl Sync for WasmFqLookupSelectors
impl Unpin for WasmFqLookupSelectors
impl UnwindSafe for WasmFqLookupSelectors
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
.