mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 05:52:21 +03:00
4a4f8b18b6
This commit renames the `static` attribute to `namespace` and simultaneously reduces and expands the scope. The `namespace` attribute can now be applied to all imports in addition to functions, and it no longer recognizes full typed paths but rather just a bare identifier. The `namespace` attribute will generate a Rust namespace to invoke the item through if one doesn't already exist (aka bindign a type). |
||
---|---|---|
.. | ||
api.rs | ||
classes.rs | ||
dependencies.rs | ||
enums.rs | ||
import-class.rs | ||
imports.rs | ||
jsobjects.rs | ||
math.rs | ||
non-debug.rs | ||
simple.rs | ||
slice.rs |