Function quickjs_rusty::serde::from_js

source ยท
pub fn from_js<'a, T>(
    context: *mut JSContext,
    value: &'a OwnedJsValue,
) -> Result<T>
where T: Deserialize<'a>,
Expand description

Deserialize an instance of type T from a JS value.