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