Type Definition napi::bindgen_prelude::Undefined
source · [−]pub type Undefined = ();
Trait Implementations
sourceimpl FromNapiValue for Undefined
impl FromNapiValue for Undefined
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 Undefined
impl ToNapiValue for Undefined
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 Undefined
impl ValidateNapiValue for Undefined
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