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