mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-29 08:21:07 +00:00
This commit enables `[NoInterfaceObject]` annotated interfaces in `web-sys`. The `NoInterfaceObject` attribute means that there's not actually a JS class for the object, but all of its properties and such can still be accessed structually and invoked. This should help provide more bindings for some more common types on the web! Note that this builds on recent features to ensure that `dyn_into` and friends always fail for `NoInterfaceObject` objects because they don't actually have a class. Closes #893 Closes #1257 Closes #1315
16 lines
277 B
Rust
16 lines
277 B
Rust
extern crate js_sys;
|
|
extern crate wasm_bindgen;
|
|
extern crate wasm_bindgen_test;
|
|
|
|
pub mod array;
|
|
pub mod array_buffer;
|
|
pub mod callbacks;
|
|
pub mod consts;
|
|
pub mod dictionary;
|
|
pub mod enums;
|
|
pub mod global;
|
|
pub mod namespace;
|
|
pub mod simple;
|
|
pub mod throws;
|
|
pub mod no_interface;
|