pub struct NapiFeatureFlags {
pub range_check0: bool,
pub range_check1: bool,
pub foreign_field_add: bool,
pub foreign_field_mul: bool,
pub xor: bool,
pub rot: bool,
pub lookup: bool,
pub runtime_tables: bool,
}Fields§
§range_check0: bool§range_check1: bool§foreign_field_add: bool§foreign_field_mul: bool§xor: bool§rot: bool§lookup: bool§runtime_tables: boolTrait Implementations§
Source§impl Clone for NapiFeatureFlags
impl Clone for NapiFeatureFlags
Source§fn clone(&self) -> NapiFeatureFlags
fn clone(&self) -> NapiFeatureFlags
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 NapiFeatureFlags
impl Debug for NapiFeatureFlags
Source§impl Default for NapiFeatureFlags
impl Default for NapiFeatureFlags
Source§fn default() -> NapiFeatureFlags
fn default() -> NapiFeatureFlags
Returns the “default value” for a type. Read more
Source§impl From<FeatureFlags> for NapiFeatureFlags
impl From<FeatureFlags> for NapiFeatureFlags
Source§fn from(value: FeatureFlags) -> Self
fn from(value: FeatureFlags) -> Self
Converts to this type from the input type.
Source§impl From<NapiFeatureFlags> for FeatureFlags
impl From<NapiFeatureFlags> for FeatureFlags
Source§fn from(value: NapiFeatureFlags) -> Self
fn from(value: NapiFeatureFlags) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for NapiFeatureFlags
impl FromNapiValue for NapiFeatureFlags
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<NapiFeatureFlags>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<NapiFeatureFlags>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl ToNapiValue for NapiFeatureFlags
impl ToNapiValue for NapiFeatureFlags
Source§unsafe fn to_napi_value(
env: napi_env,
val: NapiFeatureFlags,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NapiFeatureFlags, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for NapiFeatureFlags
impl TypeName for NapiFeatureFlags
Source§impl ValidateNapiValue for NapiFeatureFlags
impl ValidateNapiValue for NapiFeatureFlags
impl Copy for NapiFeatureFlags
Auto Trait Implementations§
impl Freeze for NapiFeatureFlags
impl RefUnwindSafe for NapiFeatureFlags
impl Send for NapiFeatureFlags
impl Sync for NapiFeatureFlags
impl Unpin for NapiFeatureFlags
impl UnsafeUnpin for NapiFeatureFlags
impl UnwindSafe for NapiFeatureFlags
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