Struct plonk_wasm::plonk_proof::fq::WasmFqOpeningProof
source · pub struct WasmFqOpeningProof {
pub lr_0: WasmVector<WasmGPallas>,
pub lr_1: WasmVector<WasmGPallas>,
pub delta: WasmGPallas,
pub z1: WasmPastaFq,
pub z2: WasmPastaFq,
pub sg: WasmGPallas,
}
Fields§
§lr_0: WasmVector<WasmGPallas>
§lr_1: WasmVector<WasmGPallas>
§delta: WasmGPallas
§z1: WasmPastaFq
§z2: WasmPastaFq
§sg: WasmGPallas
Implementations§
source§impl WasmFqOpeningProof
impl WasmFqOpeningProof
pub fn new( lr_0: WasmVector<WasmGPallas>, lr_1: WasmVector<WasmGPallas>, delta: WasmGPallas, z1: WasmPastaFq, z2: WasmPastaFq, sg: WasmGPallas ) -> Self
pub fn lr_0(&self) -> WasmVector<WasmGPallas>
pub fn lr_1(&self) -> WasmVector<WasmGPallas>
pub fn delta(&self) -> WasmGPallas
pub fn sg(&self) -> WasmGPallas
pub fn set_lr_0(&mut self, lr_0: WasmVector<WasmGPallas>)
pub fn set_lr_1(&mut self, lr_1: WasmVector<WasmGPallas>)
pub fn set_delta(&mut self, delta: WasmGPallas)
pub fn set_sg(&mut self, sg: WasmGPallas)
Trait Implementations§
source§impl Clone for WasmFqOpeningProof
impl Clone for WasmFqOpeningProof
source§fn clone(&self) -> WasmFqOpeningProof
fn clone(&self) -> WasmFqOpeningProof
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 Debug for WasmFqOpeningProof
impl Debug for WasmFqOpeningProof
source§impl From<&OpeningProof<Affine<PallasParameters>>> for WasmFqOpeningProof
impl From<&OpeningProof<Affine<PallasParameters>>> for WasmFqOpeningProof
source§impl From<&WasmFqOpeningProof> for OpeningProof<GAffine>
impl From<&WasmFqOpeningProof> for OpeningProof<GAffine>
source§fn from(x: &WasmFqOpeningProof) -> Self
fn from(x: &WasmFqOpeningProof) -> Self
Converts to this type from the input type.
source§impl From<OpeningProof<Affine<PallasParameters>>> for WasmFqOpeningProof
impl From<OpeningProof<Affine<PallasParameters>>> for WasmFqOpeningProof
source§impl From<WasmFqOpeningProof> for JsValue
impl From<WasmFqOpeningProof> for JsValue
source§fn from(value: WasmFqOpeningProof) -> Self
fn from(value: WasmFqOpeningProof) -> Self
Converts to this type from the input type.
source§impl From<WasmFqOpeningProof> for OpeningProof<GAffine>
impl From<WasmFqOpeningProof> for OpeningProof<GAffine>
source§fn from(x: WasmFqOpeningProof) -> Self
fn from(x: WasmFqOpeningProof) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFqOpeningProof
impl FromWasmAbi for WasmFqOpeningProof
source§impl IntoWasmAbi for WasmFqOpeningProof
impl IntoWasmAbi for WasmFqOpeningProof
source§impl RefFromWasmAbi for WasmFqOpeningProof
impl RefFromWasmAbi for WasmFqOpeningProof
§type Anchor = Ref<'static, WasmFqOpeningProof>
type Anchor = Ref<'static, WasmFqOpeningProof>
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 WasmFqOpeningProof
impl Send for WasmFqOpeningProof
impl Sync for WasmFqOpeningProof
impl Unpin for WasmFqOpeningProof
impl UnwindSafe for WasmFqOpeningProof
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
.