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<Vesta>
impl From<&WasmFpOpeningProof> for OpeningProof<Vesta>
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<Vesta>
impl From<WasmFpOpeningProof> for OpeningProof<Vesta>
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
Source§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.Source§impl TryFromJsValue for WasmFpOpeningProof
impl TryFromJsValue for WasmFpOpeningProof
Source§impl VectorFromWasmAbi for WasmFpOpeningProof
impl VectorFromWasmAbi for WasmFpOpeningProof
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmFpOpeningProof]>
Source§impl VectorIntoWasmAbi for WasmFpOpeningProof
impl VectorIntoWasmAbi for WasmFpOpeningProof
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmFpOpeningProof]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmFpOpeningProof
impl WasmDescribeVector for WasmFpOpeningProof
Auto Trait Implementations§
impl Freeze for WasmFpOpeningProof
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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,
Source§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
.