Skip to main content

SafeToJSValConvertible

Trait SafeToJSValConvertible 

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

A safe wrapper for ToJSValConvertible.

Required Methods§

Source

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

Implementors§