Trait napi_h::bindgen_prelude::FromNapiMutRef
source · pub trait FromNapiMutRef {
// Required method
unsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value
) -> Result<&'static mut Self>;
}
Required Methods§
sourceunsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value
) -> Result<&'static mut Self>
unsafe fn from_napi_mut_ref( env: napi_env, napi_val: napi_value ) -> Result<&'static mut Self>
§Safety
this function called to convert napi values to native rust values
Object Safety§
This trait is not object safe.