pub struct SimpleDriftCalculator { /* private fields */ }Expand description
Simple Drift Calculator
Implementations§
Trait Implementations§
Source§impl FromNapiMutRef for SimpleDriftCalculator
impl FromNapiMutRef for SimpleDriftCalculator
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 SimpleDriftCalculator
impl FromNapiRef for SimpleDriftCalculator
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 JavaScriptClassExt for SimpleDriftCalculator
impl JavaScriptClassExt for SimpleDriftCalculator
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 SimpleDriftCalculator
impl ToNapiValue for SimpleDriftCalculator
Source§unsafe fn to_napi_value(
env: napi_env,
val: SimpleDriftCalculator,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: SimpleDriftCalculator, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for &SimpleDriftCalculator
impl TypeName for &SimpleDriftCalculator
Source§impl TypeName for &mut SimpleDriftCalculator
impl TypeName for &mut SimpleDriftCalculator
Source§impl TypeName for SimpleDriftCalculator
impl TypeName for SimpleDriftCalculator
Source§impl ValidateNapiValue for &SimpleDriftCalculator
impl ValidateNapiValue for &SimpleDriftCalculator
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for &mut SimpleDriftCalculator
impl ValidateNapiValue for &mut SimpleDriftCalculator
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Auto Trait Implementations§
impl Freeze for SimpleDriftCalculator
impl RefUnwindSafe for SimpleDriftCalculator
impl Send for SimpleDriftCalculator
impl Sync for SimpleDriftCalculator
impl Unpin for SimpleDriftCalculator
impl UnwindSafe for SimpleDriftCalculator
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