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§
unsafe fn from_raw(env: napi_env, value: napi_value) -> Result<Self>
unsafe fn from_raw_unchecked(env: napi_env, value: napi_value) -> Self
Object Safety§
This trait is not object safe.