Struct napi::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<Null> for Null
impl PartialEq<Null> for Null
source§impl PartialOrd<Null> for Null
impl PartialOrd<Null> 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