pub trait TryIntoJs {
// Required method
fn try_to_js(self, js_env: &JsEnv) -> Result<*mut napi_value__, NjError>;
}Expand description
convert to JS object
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".