Trait napi_h::NapiValue

source ·
pub trait NapiValue: Sized + NapiRaw {
    // Required methods
    unsafe fn from_raw(env: napi_env, value: napi_value) -> Result<Self>;
    unsafe fn from_raw_unchecked(env: napi_env, value: napi_value) -> Self;
}

Required Methods§

source

unsafe fn from_raw(env: napi_env, value: napi_value) -> Result<Self>

source

unsafe fn from_raw_unchecked(env: napi_env, value: napi_value) -> Self

Object Safety§

This trait is not object safe.

Implementors§