Trait napi::bindgen_prelude::FromNapiValue[][src]

pub trait FromNapiValue: Sized {
    unsafe fn from_napi_value(
        env: napi_env,
        napi_val: napi_value
    ) -> Result<Self>; }

Required methods

Safety

this function called to convert napi values to native rust values

Implementations on Foreign Types

Implementors