pub struct NapiFqOpeningProof {
pub lr_0: NapiVector<NapiGPallas>,
pub lr_1: NapiVector<NapiGPallas>,
pub delta: NapiGPallas,
pub z1: NapiPastaFq,
pub z2: NapiPastaFq,
pub sg: NapiGPallas,
}Fields§
§lr_0: NapiVector<NapiGPallas>§lr_1: NapiVector<NapiGPallas>§delta: NapiGPallas§z1: NapiPastaFq§z2: NapiPastaFq§sg: NapiGPallasImplementations§
Source§impl NapiFqOpeningProof
impl NapiFqOpeningProof
pub fn new( lr_0: NapiVector<NapiGPallas>, lr_1: NapiVector<NapiGPallas>, delta: NapiGPallas, z1: NapiPastaFq, z2: NapiPastaFq, sg: NapiGPallas, ) -> Self
pub fn lr_0(&self) -> NapiVector<NapiGPallas>
pub fn lr_1(&self) -> NapiVector<NapiGPallas>
pub fn delta(&self) -> NapiGPallas
pub fn sg(&self) -> NapiGPallas
pub fn set_lr_0(&mut self, lr_0: NapiVector<NapiGPallas>)
pub fn set_lr_1(&mut self, lr_1: NapiVector<NapiGPallas>)
pub fn set_delta(&mut self, delta: NapiGPallas)
pub fn set_sg(&mut self, sg: NapiGPallas)
Trait Implementations§
Source§impl Clone for NapiFqOpeningProof
impl Clone for NapiFqOpeningProof
Source§fn clone(&self) -> NapiFqOpeningProof
fn clone(&self) -> NapiFqOpeningProof
Returns a duplicate 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 NapiFqOpeningProof
impl Debug for NapiFqOpeningProof
Source§impl From<NapiFqOpeningProof> for OpeningProof<Pallas, FULL_ROUNDS>
impl From<NapiFqOpeningProof> for OpeningProof<Pallas, FULL_ROUNDS>
Source§fn from(x: NapiFqOpeningProof) -> Self
fn from(x: NapiFqOpeningProof) -> Self
Converts to this type from the input type.
Source§impl From<OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>> for NapiFqOpeningProof
impl From<OpeningProof<Affine<PallasParameters>, FULL_ROUNDS>> for NapiFqOpeningProof
Source§fn from(x: OpeningProof<Pallas, FULL_ROUNDS>) -> Self
fn from(x: OpeningProof<Pallas, FULL_ROUNDS>) -> Self
Converts to this type from the input type.
Source§impl FromNapiMutRef for NapiFqOpeningProof
impl FromNapiMutRef for NapiFqOpeningProof
Source§unsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static mut Self>
unsafe fn from_napi_mut_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static mut Self>
Safety Read more
Source§impl FromNapiRef for NapiFqOpeningProof
impl FromNapiRef for NapiFqOpeningProof
Source§unsafe fn from_napi_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static Self>
unsafe fn from_napi_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static Self>
Safety Read more
Source§impl FromNapiValue for NapiFqOpeningProof
impl FromNapiValue for NapiFqOpeningProof
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl JavaScriptClassExt for NapiFqOpeningProof
impl JavaScriptClassExt for NapiFqOpeningProof
fn into_instance<'scope>( self, env: &'scope Env, ) -> Result<ClassInstance<'scope, Self>>
fn into_reference(self, env: Env) -> Result<Reference<Self>>
fn instance_of<'env, V: JsValue<'env>>(env: &Env, value: &V) -> Result<bool>
Source§impl ToNapiValue for NapiFqOpeningProof
impl ToNapiValue for NapiFqOpeningProof
Source§unsafe fn to_napi_value(
env: napi_env,
val: NapiFqOpeningProof,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NapiFqOpeningProof, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for &NapiFqOpeningProof
impl TypeName for &NapiFqOpeningProof
Source§impl TypeName for &mut NapiFqOpeningProof
impl TypeName for &mut NapiFqOpeningProof
Source§impl TypeName for NapiFqOpeningProof
impl TypeName for NapiFqOpeningProof
Source§impl ValidateNapiValue for &NapiFqOpeningProof
impl ValidateNapiValue for &NapiFqOpeningProof
Auto Trait Implementations§
impl Freeze for NapiFqOpeningProof
impl RefUnwindSafe for NapiFqOpeningProof
impl Send for NapiFqOpeningProof
impl Sync for NapiFqOpeningProof
impl Unpin for NapiFqOpeningProof
impl UnsafeUnpin for NapiFqOpeningProof
impl UnwindSafe for NapiFqOpeningProof
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