pub struct WasmFpPlonkVerificationEvals {Show 14 fields
pub sigma_comm: WasmVector<WasmPolyComm>,
pub coefficients_comm: WasmVector<WasmPolyComm>,
pub generic_comm: WasmPolyComm,
pub psm_comm: WasmPolyComm,
pub complete_add_comm: WasmPolyComm,
pub mul_comm: WasmPolyComm,
pub emul_comm: WasmPolyComm,
pub endomul_scalar_comm: WasmPolyComm,
pub xor_comm: Option<WasmPolyComm>,
pub range_check0_comm: Option<WasmPolyComm>,
pub range_check1_comm: Option<WasmPolyComm>,
pub foreign_field_add_comm: Option<WasmPolyComm>,
pub foreign_field_mul_comm: Option<WasmPolyComm>,
pub rot_comm: Option<WasmPolyComm>,
}
Fields§
§sigma_comm: WasmVector<WasmPolyComm>
§coefficients_comm: WasmVector<WasmPolyComm>
§generic_comm: WasmPolyComm
§psm_comm: WasmPolyComm
§complete_add_comm: WasmPolyComm
§mul_comm: WasmPolyComm
§emul_comm: WasmPolyComm
§endomul_scalar_comm: WasmPolyComm
§xor_comm: Option<WasmPolyComm>
§range_check0_comm: Option<WasmPolyComm>
§range_check1_comm: Option<WasmPolyComm>
§foreign_field_add_comm: Option<WasmPolyComm>
§foreign_field_mul_comm: Option<WasmPolyComm>
§rot_comm: Option<WasmPolyComm>
Implementations§
source§impl WasmFpPlonkVerificationEvals
impl WasmFpPlonkVerificationEvals
pub fn new( sigma_comm: WasmVector<WasmPolyComm>, coefficients_comm: WasmVector<WasmPolyComm>, generic_comm: &WasmPolyComm, psm_comm: &WasmPolyComm, complete_add_comm: &WasmPolyComm, mul_comm: &WasmPolyComm, emul_comm: &WasmPolyComm, endomul_scalar_comm: &WasmPolyComm, xor_comm: Option<WasmPolyComm>, range_check0_comm: Option<WasmPolyComm>, range_check1_comm: Option<WasmPolyComm>, foreign_field_add_comm: Option<WasmPolyComm>, foreign_field_mul_comm: Option<WasmPolyComm>, rot_comm: Option<WasmPolyComm> ) -> Self
pub fn sigma_comm(&self) -> WasmVector<WasmPolyComm>
pub fn set_sigma_comm(&mut self, x: WasmVector<WasmPolyComm>)
pub fn coefficients_comm(&self) -> WasmVector<WasmPolyComm>
pub fn set_coefficients_comm(&mut self, x: WasmVector<WasmPolyComm>)
pub fn generic_comm(&self) -> WasmPolyComm
pub fn set_generic_comm(&mut self, x: WasmPolyComm)
pub fn psm_comm(&self) -> WasmPolyComm
pub fn set_psm_comm(&mut self, x: WasmPolyComm)
pub fn complete_add_comm(&self) -> WasmPolyComm
pub fn set_complete_add_comm(&mut self, x: WasmPolyComm)
pub fn mul_comm(&self) -> WasmPolyComm
pub fn set_mul_comm(&mut self, x: WasmPolyComm)
pub fn emul_comm(&self) -> WasmPolyComm
pub fn set_emul_comm(&mut self, x: WasmPolyComm)
pub fn endomul_scalar_comm(&self) -> WasmPolyComm
pub fn set_endomul_scalar_comm(&mut self, x: WasmPolyComm)
pub fn xor_comm(&self) -> Option<WasmPolyComm>
pub fn set_xor_comm(&mut self, x: Option<WasmPolyComm>)
pub fn rot_comm(&self) -> Option<WasmPolyComm>
pub fn set_rot_comm(&mut self, x: Option<WasmPolyComm>)
pub fn range_check0_comm(&self) -> Option<WasmPolyComm>
pub fn set_range_check0_comm(&mut self, x: Option<WasmPolyComm>)
pub fn range_check1_comm(&self) -> Option<WasmPolyComm>
pub fn set_range_check1_comm(&mut self, x: Option<WasmPolyComm>)
pub fn foreign_field_add_comm(&self) -> Option<WasmPolyComm>
pub fn set_foreign_field_add_comm(&mut self, x: Option<WasmPolyComm>)
pub fn foreign_field_mul_comm(&self) -> Option<WasmPolyComm>
pub fn set_foreign_field_mul_comm(&mut self, x: Option<WasmPolyComm>)
Trait Implementations§
source§impl Clone for WasmFpPlonkVerificationEvals
impl Clone for WasmFpPlonkVerificationEvals
source§fn clone(&self) -> WasmFpPlonkVerificationEvals
fn clone(&self) -> WasmFpPlonkVerificationEvals
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<WasmFpPlonkVerificationEvals> for JsValue
impl From<WasmFpPlonkVerificationEvals> for JsValue
source§fn from(value: WasmFpPlonkVerificationEvals) -> Self
fn from(value: WasmFpPlonkVerificationEvals) -> Self
Converts to this type from the input type.
source§impl RefFromWasmAbi for WasmFpPlonkVerificationEvals
impl RefFromWasmAbi for WasmFpPlonkVerificationEvals
§type Anchor = Ref<'static, WasmFpPlonkVerificationEvals>
type Anchor = Ref<'static, WasmFpPlonkVerificationEvals>
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 WasmFpPlonkVerificationEvals
impl Send for WasmFpPlonkVerificationEvals
impl Sync for WasmFpPlonkVerificationEvals
impl Unpin for WasmFpPlonkVerificationEvals
impl UnwindSafe for WasmFpPlonkVerificationEvals
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
.