Skip to main content

SafeToJSValConvertible

Trait SafeToJSValConvertible 

Source
pub trait SafeToJSValConvertible {
    // Required method
    fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>);
}
Expand description

A safe wrapper for ToJSValConvertible.

Required Methods§

Source

fn safe_to_jsval(&self, cx: &mut JSContext, rval: MutableHandleValue<'_>)

Implementors§