Trait nj_core::IntoJs[][src]

pub trait IntoJs {
    fn into_js(self, js_env: &JsEnv) -> napi_value;
}

convert to js including error

Required methods

fn into_js(self, js_env: &JsEnv) -> napi_value[src]

Loading content...

Implementations on Foreign Types

impl IntoJs for Result<napi_value, NjError>[src]

Loading content...

Implementors

impl IntoJs for NjError[src]

Loading content...