pub trait TryIntoJs {
// Required method
fn try_to_js(self, js_env: &JsEnv) -> Result<napi_value, NjError>;
}
Expand description
convert to JS object
pub trait TryIntoJs {
// Required method
fn try_to_js(self, js_env: &JsEnv) -> Result<napi_value, NjError>;
}
convert to JS object