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