pub(crate) trait ErrorToJsval {
// Required method
fn to_jsval(
self,
cx: &mut JSContext,
global: &GlobalScope,
rval: MutableHandleValue<'_>,
);
}Required Methods§
fn to_jsval( self, cx: &mut JSContext, global: &GlobalScope, rval: MutableHandleValue<'_>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".