pub struct NapiFpLookupCommitments {
pub sorted: NapiVector<NapiFpPolyComm>,
pub aggreg: NapiFpPolyComm,
pub runtime: Option<NapiFpPolyComm>,
}Fields§
§sorted: NapiVector<NapiFpPolyComm>§aggreg: NapiFpPolyComm§runtime: Option<NapiFpPolyComm>Implementations§
Source§impl NapiFpLookupCommitments
impl NapiFpLookupCommitments
pub fn new( sorted: NapiVector<NapiFpPolyComm>, aggreg: NapiFpPolyComm, runtime: Option<NapiFpPolyComm>, ) -> Self
pub fn sorted(&self) -> NapiVector<NapiFpPolyComm>
pub fn aggreg(&self) -> NapiFpPolyComm
pub fn runtime(&self) -> Option<NapiFpPolyComm>
pub fn set_sorted(&mut self, s: NapiVector<NapiFpPolyComm>)
pub fn set_aggreg(&mut self, a: NapiFpPolyComm)
pub fn set_runtime(&mut self, r: Option<NapiFpPolyComm>)
Trait Implementations§
Source§impl Clone for NapiFpLookupCommitments
impl Clone for NapiFpLookupCommitments
Source§fn clone(&self) -> NapiFpLookupCommitments
fn clone(&self) -> NapiFpLookupCommitments
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 From<LookupCommitments<Affine<VestaParameters>>> for NapiFpLookupCommitments
impl From<LookupCommitments<Affine<VestaParameters>>> for NapiFpLookupCommitments
Source§fn from(x: LookupCommitments<Vesta>) -> Self
fn from(x: LookupCommitments<Vesta>) -> Self
Converts to this type from the input type.
Source§impl From<NapiFpLookupCommitments> for LookupCommitments<Vesta>
impl From<NapiFpLookupCommitments> for LookupCommitments<Vesta>
Source§fn from(x: NapiFpLookupCommitments) -> Self
fn from(x: NapiFpLookupCommitments) -> Self
Converts to this type from the input type.
Source§impl FromNapiMutRef for NapiFpLookupCommitments
impl FromNapiMutRef for NapiFpLookupCommitments
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 NapiFpLookupCommitments
impl FromNapiRef for NapiFpLookupCommitments
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 NapiFpLookupCommitments
impl FromNapiValue for NapiFpLookupCommitments
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 NapiFpLookupCommitments
impl JavaScriptClassExt for NapiFpLookupCommitments
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 ObjectFinalize for NapiFpLookupCommitments
impl ObjectFinalize for NapiFpLookupCommitments
Source§impl ToNapiValue for NapiFpLookupCommitments
impl ToNapiValue for NapiFpLookupCommitments
Source§unsafe fn to_napi_value(
env: napi_env,
val: NapiFpLookupCommitments,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NapiFpLookupCommitments, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for &NapiFpLookupCommitments
impl TypeName for &NapiFpLookupCommitments
Source§impl TypeName for &mut NapiFpLookupCommitments
impl TypeName for &mut NapiFpLookupCommitments
Source§impl TypeName for NapiFpLookupCommitments
impl TypeName for NapiFpLookupCommitments
Source§impl ValidateNapiValue for &NapiFpLookupCommitments
impl ValidateNapiValue for &NapiFpLookupCommitments
Auto Trait Implementations§
impl Freeze for NapiFpLookupCommitments
impl RefUnwindSafe for NapiFpLookupCommitments
impl Send for NapiFpLookupCommitments
impl Sync for NapiFpLookupCommitments
impl Unpin for NapiFpLookupCommitments
impl UnsafeUnpin for NapiFpLookupCommitments
impl UnwindSafe for NapiFpLookupCommitments
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