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