| 1 |
# Summary |
| 2 |
|
| 3 |
[Introduction](./introduction.md) |
| 4 |
|
| 5 |
-------------------------------------------------------------------------------- |
| 6 |
|
| 7 |
- [Examples](./examples/index.md) |
| 8 |
- [Hello, World!](./examples/hello-world.md) |
| 9 |
- [Using `console.log`](./examples/console-log.md) |
| 10 |
- [Small wasm files](./examples/add.md) |
| 11 |
- [Without a Bundler](./examples/without-a-bundler.md) |
| 12 |
- [Synchronous Instantiation](./examples/synchronous-instantiation.md) |
| 13 |
- [Converting WebAssembly to JS](./examples/wasm2js.md) |
| 14 |
- [Importing functions from JS](./examples/import-js.md) |
| 15 |
- [Working with `char`](./examples/char.md) |
| 16 |
- [js-sys: WebAssembly in WebAssembly](./examples/wasm-in-wasm.md) |
| 17 |
- [web-sys: DOM hello world](./examples/dom.md) |
| 18 |
- [web-sys: Closures](./examples/closures.md) |
| 19 |
- [web-sys: `performance.now`](./examples/performance.md) |
| 20 |
- [web-sys: using `fetch`](./examples/fetch.md) |
| 21 |
- [web-sys: Weather report](./examples/weather_report.md) |
| 22 |
- [web-sys: `canvas` hello world](./examples/2d-canvas.md) |
| 23 |
- [web-sys: `canvas` Julia set](./examples/julia.md) |
| 24 |
- [web-sys: WebAudio](./examples/web-audio.md) |
| 25 |
- [web-sys: WebGL](./examples/webgl.md) |
| 26 |
- [web-sys: WebSockets](./examples/websockets.md) |
| 27 |
- [web-sys: WebRTC DataChannel](./examples/webrtc_datachannel.md) |
| 28 |
- [web-sys: `requestAnimationFrame`](./examples/request-animation-frame.md) |
| 29 |
- [web-sys: A Simple Paint Program](./examples/paint.md) |
| 30 |
- [web-sys: Wasm in Web Worker](./examples/wasm-in-web-worker.md) |
| 31 |
- [Parallel Raytracing](./examples/raytrace.md) |
| 32 |
- [Wasm Audio Worklet](./examples/wasm-audio-worklet.md) |
| 33 |
- [web-sys: A TODO MVC App](./examples/todomvc.md) |
| 34 |
- [Reference](./reference/index.md) |
| 35 |
- [Deployment](./reference/deployment.md) |
| 36 |
- [JS snippets](./reference/js-snippets.md) |
| 37 |
- [Static JS Objects](./reference/static-js-objects.md) |
| 38 |
- [Passing Rust Closures to JS](./reference/passing-rust-closures-to-js.md) |
| 39 |
- [Receiving JS Closures in Rust](./reference/receiving-js-closures-in-rust.md) |
| 40 |
- [`Promise`s and `Future`s](./reference/js-promises-and-rust-futures.md) |
| 41 |
- [Iterating over JS Values](./reference/iterating-over-js-values.md) |
| 42 |
- [Arbitrary Data with Serde](./reference/arbitrary-data-with-serde.md) |
| 43 |
- [Accessing Properties of Untyped JS Values](./reference/accessing-properties-of-untyped-js-values.md) |
| 44 |
- [Working with Duck-Typed Interfaces](./reference/working-with-duck-typed-interfaces.md) |
| 45 |
- [Command Line Interface](./reference/cli.md) |
| 46 |
- [Optimizing for Size](./reference/optimize-size.md) |
| 47 |
- [Supported Rust Targets](./reference/rust-targets.md) |
| 48 |
- [Supported Browsers](./reference/browser-support.md) |
| 49 |
- [Support for Weak References](./reference/weak-references.md) |
| 50 |
- [Support for Reference Types](./reference/reference-types.md) |
| 51 |
- [Supported Types](./reference/types.md) |
| 52 |
- [Imported JavaScript Types](./reference/types/imported-js-types.md) |
| 53 |
- [Exported Rust Types](./reference/types/exported-rust-types.md) |
| 54 |
- [`JsValue`](./reference/types/jsvalue.md) |
| 55 |
- [`Box<[T]>` and `Vec<T>`](./reference/types/boxed-slices.md) |
| 56 |
- [`*const T` and `*mut T`](./reference/types/pointers.md) |
| 57 |
- [`NonNull<T>`](./reference/types/non-null.md) |
| 58 |
- [Numbers](./reference/types/numbers.md) |
| 59 |
- [`bool`](./reference/types/bool.md) |
| 60 |
- [`char`](./reference/types/char.md) |
| 61 |
- [`str`](./reference/types/str.md) |
| 62 |
- [`String`](./reference/types/string.md) |
| 63 |
- [Number Slices](./reference/types/number-slices.md) |
| 64 |
- [Boxed Number Slices](./reference/types/boxed-number-slices.md) |
| 65 |
- [`Result<T, E>`](./reference/types/result.md) |
| 66 |
- [`#[wasm_bindgen]` Attributes](./reference/attributes/index.md) |
| 67 |
- [On JavaScript Imports](./reference/attributes/on-js-imports/index.md) |
| 68 |
- [`catch`](./reference/attributes/on-js-imports/catch.md) |
| 69 |
- [`constructor`](./reference/attributes/on-js-imports/constructor.md) |
| 70 |
- [`extends`](./reference/attributes/on-js-imports/extends.md) |
| 71 |
- [`getter` and `setter`](./reference/attributes/on-js-imports/getter-and-setter.md) |
| 72 |
- [`final`](./reference/attributes/on-js-imports/final.md) |
| 73 |
- [`indexing_getter`, `indexing_setter`, and `indexing_deleter`](./reference/attributes/on-js-imports/indexing-getter-setter-deleter.md) |
| 74 |
- [`js_class = "Blah"`](./reference/attributes/on-js-imports/js_class.md) |
| 75 |
- [`js_name`](./reference/attributes/on-js-imports/js_name.md) |
| 76 |
- [`js_namespace`](./reference/attributes/on-js-imports/js_namespace.md) |
| 77 |
- [`method`](./reference/attributes/on-js-imports/method.md) |
| 78 |
- [`module = "blah"`](./reference/attributes/on-js-imports/module.md) |
| 79 |
- [`raw_module = "blah"`](./reference/attributes/on-js-imports/raw_module.md) |
| 80 |
- [`no_deref`](./reference/attributes/on-js-imports/no_deref.md) |
| 81 |
- [`static_method_of = Blah`](./reference/attributes/on-js-imports/static_method_of.md) |
| 82 |
- [`structural`](./reference/attributes/on-js-imports/structural.md) |
| 83 |
- [`typescript_type`](./reference/attributes/on-js-imports/typescript_type.md) |
| 84 |
- [`variadic`](./reference/attributes/on-js-imports/variadic.md) |
| 85 |
- [`vendor_prefix`](./reference/attributes/on-js-imports/vendor_prefix.md) |
| 86 |
- [On Rust Exports](./reference/attributes/on-rust-exports/index.md) |
| 87 |
- [`constructor`](./reference/attributes/on-rust-exports/constructor.md) |
| 88 |
- [`js_name = Blah`](./reference/attributes/on-rust-exports/js_name.md) |
| 89 |
- [`js_class = Blah`](./reference/attributes/on-rust-exports/js_class.md) |
| 90 |
- [`readonly`](./reference/attributes/on-rust-exports/readonly.md) |
| 91 |
- [`skip`](./reference/attributes/on-rust-exports/skip.md) |
| 92 |
- [`skip_jsdoc`](./reference/attributes/on-rust-exports/skip_jsdoc.md) |
| 93 |
- [`start`](./reference/attributes/on-rust-exports/start.md) |
| 94 |
- [`main`](./reference/attributes/on-rust-exports/main.md) |
| 95 |
- [`typescript_custom_section`](./reference/attributes/on-rust-exports/typescript_custom_section.md) |
| 96 |
- [`getter` and `setter`](./reference/attributes/on-rust-exports/getter-and-setter.md) |
| 97 |
- [`inspectable`](./reference/attributes/on-rust-exports/inspectable.md) |
| 98 |
- [`skip_typescript`](./reference/attributes/on-rust-exports/skip_typescript.md) |
| 99 |
- [`getter_with_clone`](./reference/attributes/on-rust-exports/getter_with_clone.md) |
| 100 |
|
| 101 |
- [`web-sys`](./web-sys/index.md) |
| 102 |
- [Using `web-sys`](./web-sys/using-web-sys.md) |
| 103 |
- [Cargo Features](./web-sys/cargo-features.md) |
| 104 |
- [Function Overloads](./web-sys/function-overloads.md) |
| 105 |
- [Type Translations](./web-sys/type-translations.md) |
| 106 |
- [Inheritance](./web-sys/inheritance.md) |
| 107 |
- [Unstable APIs](./web-sys/unstable-apis.md) |
| 108 |
|
| 109 |
- [Testing with `wasm-bindgen-test`](./wasm-bindgen-test/index.md) |
| 110 |
- [Usage](./wasm-bindgen-test/usage.md) |
| 111 |
- [Writing Asynchronous Tests](./wasm-bindgen-test/asynchronous-tests.md) |
| 112 |
- [Testing in Headless Browsers](./wasm-bindgen-test/browsers.md) |
| 113 |
- [Continuous Integration](./wasm-bindgen-test/continuous-integration.md) |
| 114 |
|
| 115 |
- [Contributing to `wasm-bindgen`](./contributing/index.md) |
| 116 |
- [Testing](./contributing/testing.md) |
| 117 |
- [Internal Design](./contributing/design/index.md) |
| 118 |
- [JS Objects in Rust](./contributing/design/js-objects-in-rust.md) |
| 119 |
- [Exporting a function to JS](./contributing/design/exporting-rust.md) |
| 120 |
- [Exporting a struct to JS](./contributing/design/exporting-rust-struct.md) |
| 121 |
- [Importing a function from JS](./contributing/design/importing-js.md) |
| 122 |
- [Importing a class from JS](./contributing/design/importing-js-struct.md) |
| 123 |
- [Rust Type conversions](./contributing/design/rust-type-conversions.md) |
| 124 |
- [Types in `wasm-bindgen`](./contributing/design/describe.md) |
| 125 |
- [`js-sys`](./contributing/js-sys/index.md) |
| 126 |
- [Testing](./contributing/js-sys/testing.md) |
| 127 |
- [Adding More APIs](./contributing/js-sys/adding-more-apis.md) |
| 128 |
- [`web-sys`](./contributing/web-sys/index.md) |
| 129 |
- [Overview](./contributing/web-sys/overview.md) |
| 130 |
- [Testing](./contributing/web-sys/testing.md) |
| 131 |
- [Logging](./contributing/web-sys/logging.md) |
| 132 |
- [Supporting More Web APIs](./contributing/web-sys/supporting-more-web-apis.md) |
| 133 |
- [Publishing](./contributing/publishing.md) |
| 134 |
- [Team](./contributing/team.md) |