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