Struct plonk_wasm::plonk_proof::fp::WasmFpLookupCommitments
source · pub struct WasmFpLookupCommitments {
pub sorted: WasmVector<WasmPolyComm>,
pub aggreg: WasmPolyComm,
pub runtime: Option<WasmPolyComm>,
}
Fields§
§sorted: WasmVector<WasmPolyComm>
§aggreg: WasmPolyComm
§runtime: Option<WasmPolyComm>
Implementations§
source§impl WasmFpLookupCommitments
impl WasmFpLookupCommitments
pub fn new( sorted: WasmVector<WasmPolyComm>, aggreg: WasmPolyComm, runtime: Option<WasmPolyComm> ) -> Self
pub fn sorted(&self) -> WasmVector<WasmPolyComm>
pub fn aggreg(&self) -> WasmPolyComm
pub fn runtime(&self) -> Option<WasmPolyComm>
pub fn set_sorted(&mut self, s: WasmVector<WasmPolyComm>)
pub fn set_aggreg(&mut self, a: WasmPolyComm)
pub fn set_runtime(&mut self, r: Option<WasmPolyComm>)
Trait Implementations§
source§impl Clone for WasmFpLookupCommitments
impl Clone for WasmFpLookupCommitments
source§fn clone(&self) -> WasmFpLookupCommitments
fn clone(&self) -> WasmFpLookupCommitments
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<&LookupCommitments<Affine<VestaParameters>>> for WasmFpLookupCommitments
impl From<&LookupCommitments<Affine<VestaParameters>>> for WasmFpLookupCommitments
source§impl From<&WasmFpLookupCommitments> for LookupCommitments<GAffine>
impl From<&WasmFpLookupCommitments> for LookupCommitments<GAffine>
source§fn from(x: &WasmFpLookupCommitments) -> Self
fn from(x: &WasmFpLookupCommitments) -> Self
Converts to this type from the input type.
source§impl From<LookupCommitments<Affine<VestaParameters>>> for WasmFpLookupCommitments
impl From<LookupCommitments<Affine<VestaParameters>>> for WasmFpLookupCommitments
source§impl From<WasmFpLookupCommitments> for JsValue
impl From<WasmFpLookupCommitments> for JsValue
source§fn from(value: WasmFpLookupCommitments) -> Self
fn from(value: WasmFpLookupCommitments) -> Self
Converts to this type from the input type.
source§impl From<WasmFpLookupCommitments> for LookupCommitments<GAffine>
impl From<WasmFpLookupCommitments> for LookupCommitments<GAffine>
source§fn from(x: WasmFpLookupCommitments) -> Self
fn from(x: WasmFpLookupCommitments) -> Self
Converts to this type from the input type.
source§impl RefFromWasmAbi for WasmFpLookupCommitments
impl RefFromWasmAbi for WasmFpLookupCommitments
§type Anchor = Ref<'static, WasmFpLookupCommitments>
type Anchor = Ref<'static, WasmFpLookupCommitments>
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 WasmFpLookupCommitments
impl Send for WasmFpLookupCommitments
impl Sync for WasmFpLookupCommitments
impl Unpin for WasmFpLookupCommitments
impl UnwindSafe for WasmFpLookupCommitments
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
.