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