Struct napi_h::bindgen_prelude::Null
source · pub struct Null;
Trait Implementations§
source§impl FromNapiValue for Null
impl FromNapiValue for Null
source§unsafe 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>
source§impl Ord for Null
impl Ord for Null
source§impl PartialEq for Null
impl PartialEq for Null
source§impl PartialOrd for Null
impl PartialOrd for Null
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToNapiValue for Null
impl ToNapiValue for Null
source§unsafe 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
source§impl ValidateNapiValue for Null
impl ValidateNapiValue for Null
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
impl Copy for Null
impl Eq for Null
impl StructuralPartialEq for Null
Auto Trait Implementations§
impl Freeze for Null
impl RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.