Struct napi::bindgen_prelude::Null
source · [−]pub struct Null;
Trait Implementations
sourceimpl FromNapiValue for Null
impl FromNapiValue for Null
sourceunsafe 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: JsUnknown) -> Result<Self>
sourceimpl ToNapiValue for Null
impl ToNapiValue for Null
sourceunsafe fn to_napi_value(env: napi_env, _val: Self) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, _val: Self) -> Result<napi_value>
Safety Read more
sourceimpl ValidateNapiValue for Null
impl ValidateNapiValue for Null
sourceunsafe 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 RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more