mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-01 07:01:22 +00:00
6.7 KiB
6.7 KiB
Summary
-
- Hello, World!
- Using
console.log
- Small wasm files
- Without a Bundler
- 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: WebSockets
- web-sys:
requestAnimationFrame
- web-sys: A Simple Paint Program
- Parallel Raytracing
- web-sys: A TODO MVC App
-
- Deployment
- JS snippets
- Passing Rust Closures to JS
- Receiving JS Closures in Rust
Promise
s andFuture
s- Iterating over JS Values
- 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