pub trait ToJSValConvertible {
// Required method
unsafe fn to_jsval(
&self,
cx: *mut JSContext,
rval: MutableHandle<'_, Value>,
);
}
Expand description
A trait to convert Rust types to JSVal
s.
pub trait ToJSValConvertible {
// Required method
unsafe fn to_jsval(
&self,
cx: *mut JSContext,
rval: MutableHandle<'_, Value>,
);
}
A trait to convert Rust types to JSVal
s.