dictionary_from_jsval

Function dictionary_from_jsval 

Source
fn dictionary_from_jsval<T>(
    cx: JSContext,
    value: HandleValue<'_>,
) -> Fallible<T>
where T: SafeFromJSValConvertible<Config = ()>,
Expand description

Helper to abstract the conversion process of a JS value into many different WebIDL dictionaries.