wasm-bindgen-downcast
(API Docs)
Downcast a JavaScript wrapper generated by wasm-bindgen
back to its original
struct.
This is a workaround for rustwasm/wasm-bindgen#2231 that is robust with respect to minification (something other solutions can't handle).
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
It is recommended to always use cargo crev
to verify the
trustworthiness of each of your dependencies, including this one.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
The intent of this crate is to be free of soundness bugs. The developers will do their best to avoid them, and welcome help in analysing and fixing them.