Function try_ref_from_abi_safe

Source
pub fn try_ref_from_abi_safe<T>(
    class: &str,
    js: impl AsRef<JsValue>,
) -> Result<<T as RefFromWasmAbi>::Anchor, Error>
where T: RefFromWasmAbi<Abi = u32>,
Expand description

Create a reference to a Rust object from a WASM ABI.