mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-01 07:01:22 +00:00
6.4 KiB
6.4 KiB
Summary
- Whirlwind Tour
- Examples
- Hello, World!
- Using
console.log
- Small wasm files
- Using
--no-modules
- Converting WebAssembly to JS
- Importing functions from JS
- Working with
char
- js-sys: WebAssembly in WebAssembly
- web-sys: DOM hello world
- web-sys: Closures
- web-sys:
performance.now
- web-sys: using
fetch
- web-sys:
canvas
hello world - web-sys:
canvas
Julia set - web-sys: WebAudio
- web-sys: WebGL
- web-sys: A Simple Paint Program
- Reference
- Passing Rust Closures to JS
- Receiving JS Closures in Rust
Promise
s andFuture
s- Iterating over JS Values
- No ES Modules
- Arbitrary Data with Serde
- Accessing Properties of Untyped JS Values
- Working with Duck-Typed Interfaces
- Command Line Interface
- Optimizing for Size
- Supported Rust Targets
- Supported Browsers
- Supported Types
#[wasm_bindgen]
Attributes