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