Reference
Entrypoints
js(module), embed and load ES modules.js(global_this), access theglobalThisobject.
Newtypes
js(value), give arbitrary JavaScript values a Rust type.
Interfaces
js(interface), declare object properties, functions, and constructors.js(callable), store JavaScript functions as values.js(iterator), bridge between JavaScript and Rust iterators.