mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-27 19:28:56 +03:00
11553a1af2
This commit implements the `JsCast` trait automatically for all imported types in `#[wasm_bindgen] extern { ... }` blocks. The main change here was to generate an `instanceof` shim for all imported types in case it's needed. All imported types now also implement `AsRef<JsValue>` and `AsMut<JsValue>` |
||
---|---|---|
.. | ||
crates | ||
no-std | ||
wasm | ||
headless.rs | ||
non_wasm.rs | ||
std-crate-no-std-dep.rs |