Struct plonk_wasm::plonk_proof::fp::WasmFpProverCommitments
source · pub struct WasmFpProverCommitments {
pub w_comm: WasmVector<WasmPolyComm>,
pub z_comm: WasmPolyComm,
pub t_comm: WasmPolyComm,
pub lookup: Option<WasmFpLookupCommitments>,
}
Fields§
§w_comm: WasmVector<WasmPolyComm>
§z_comm: WasmPolyComm
§t_comm: WasmPolyComm
§lookup: Option<WasmFpLookupCommitments>
Implementations§
source§impl WasmFpProverCommitments
impl WasmFpProverCommitments
pub fn new( w_comm: WasmVector<WasmPolyComm>, z_comm: WasmPolyComm, t_comm: WasmPolyComm, lookup: Option<WasmFpLookupCommitments> ) -> Self
pub fn w_comm(&self) -> WasmVector<WasmPolyComm>
pub fn z_comm(&self) -> WasmPolyComm
pub fn t_comm(&self) -> WasmPolyComm
pub fn lookup(&self) -> Option<WasmFpLookupCommitments>
pub fn set_w_comm(&mut self, x: WasmVector<WasmPolyComm>)
pub fn set_z_comm(&mut self, x: WasmPolyComm)
pub fn set_t_comm(&mut self, x: WasmPolyComm)
pub fn set_lookup(&mut self, l: Option<WasmFpLookupCommitments>)
Trait Implementations§
source§impl Clone for WasmFpProverCommitments
impl Clone for WasmFpProverCommitments
source§fn clone(&self) -> WasmFpProverCommitments
fn clone(&self) -> WasmFpProverCommitments
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<&ProverCommitments<Affine<VestaParameters>>> for WasmFpProverCommitments
impl From<&ProverCommitments<Affine<VestaParameters>>> for WasmFpProverCommitments
source§impl From<&WasmFpProverCommitments> for ProverCommitments<GAffine>
impl From<&WasmFpProverCommitments> for ProverCommitments<GAffine>
source§fn from(x: &WasmFpProverCommitments) -> Self
fn from(x: &WasmFpProverCommitments) -> Self
Converts to this type from the input type.
source§impl From<ProverCommitments<Affine<VestaParameters>>> for WasmFpProverCommitments
impl From<ProverCommitments<Affine<VestaParameters>>> for WasmFpProverCommitments
source§impl From<WasmFpProverCommitments> for JsValue
impl From<WasmFpProverCommitments> for JsValue
source§fn from(value: WasmFpProverCommitments) -> Self
fn from(value: WasmFpProverCommitments) -> Self
Converts to this type from the input type.
source§impl From<WasmFpProverCommitments> for ProverCommitments<GAffine>
impl From<WasmFpProverCommitments> for ProverCommitments<GAffine>
source§fn from(x: WasmFpProverCommitments) -> Self
fn from(x: WasmFpProverCommitments) -> Self
Converts to this type from the input type.
source§impl RefFromWasmAbi for WasmFpProverCommitments
impl RefFromWasmAbi for WasmFpProverCommitments
§type Anchor = Ref<'static, WasmFpProverCommitments>
type Anchor = Ref<'static, WasmFpProverCommitments>
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 WasmFpProverCommitments
impl Send for WasmFpProverCommitments
impl Sync for WasmFpProverCommitments
impl Unpin for WasmFpProverCommitments
impl UnwindSafe for WasmFpProverCommitments
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
.