2018-06-19 11:08:54 -07:00
|
|
|
# Summary
|
|
|
|
|
|
|
|
[Introduction](./introduction.md)
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2018-09-20 16:20:42 -07:00
|
|
|
- [Examples](./examples/index.md)
|
|
|
|
- [Hello, World!](./examples/hello-world.md)
|
|
|
|
- [Using `console.log`](./examples/console-log.md)
|
|
|
|
- [Small wasm files](./examples/add.md)
|
2019-02-21 11:49:08 -08:00
|
|
|
- [Without a Bundler](./examples/without-a-bundler.md)
|
2018-09-20 16:20:42 -07:00
|
|
|
- [Converting WebAssembly to JS](./examples/wasm2js.md)
|
|
|
|
- [Importing functions from JS](./examples/import-js.md)
|
|
|
|
- [Working with `char`](./examples/char.md)
|
|
|
|
- [js-sys: WebAssembly in WebAssembly](./examples/wasm-in-wasm.md)
|
|
|
|
- [web-sys: DOM hello world](./examples/dom.md)
|
|
|
|
- [web-sys: Closures](./examples/closures.md)
|
|
|
|
- [web-sys: `performance.now`](./examples/performance.md)
|
|
|
|
- [web-sys: using `fetch`](./examples/fetch.md)
|
|
|
|
- [web-sys: `canvas` hello world](./examples/2d-canvas.md)
|
|
|
|
- [web-sys: `canvas` Julia set](./examples/julia.md)
|
|
|
|
- [web-sys: WebAudio](./examples/web-audio.md)
|
|
|
|
- [web-sys: WebGL](./examples/webgl.md)
|
2019-06-01 16:17:50 +03:00
|
|
|
- [web-sys: WebSockets](./examples/websockets.md)
|
2018-12-10 12:50:19 -08:00
|
|
|
- [web-sys: `requestAnimationFrame`](./examples/request-animation-frame.md)
|
2018-09-20 16:20:42 -07:00
|
|
|
- [web-sys: A Simple Paint Program](./examples/paint.md)
|
2018-10-04 20:00:23 -07:00
|
|
|
- [Parallel Raytracing](./examples/raytrace.md)
|
2018-10-13 01:21:14 +01:00
|
|
|
- [web-sys: A TODO MVC App](./examples/todomvc.md)
|
2018-08-03 15:14:06 -07:00
|
|
|
- [Reference](./reference/index.md)
|
2019-02-21 11:49:08 -08:00
|
|
|
- [Deployment](./reference/deployment.md)
|
2019-02-25 11:11:30 -08:00
|
|
|
- [JS snippets](./reference/js-snippets.md)
|
2018-08-06 17:43:36 -07:00
|
|
|
- [Passing Rust Closures to JS](./reference/passing-rust-closures-to-js.md)
|
|
|
|
- [Receiving JS Closures in Rust](./reference/receiving-js-closures-in-rust.md)
|
2018-08-13 15:44:28 -07:00
|
|
|
- [`Promise`s and `Future`s](./reference/js-promises-and-rust-futures.md)
|
2018-09-25 13:31:54 -07:00
|
|
|
- [Iterating over JS Values](./reference/iterating-over-js-values.md)
|
2018-08-07 14:24:26 -07:00
|
|
|
- [Arbitrary Data with Serde](./reference/arbitrary-data-with-serde.md)
|
2018-09-11 15:26:51 -07:00
|
|
|
- [Accessing Properties of Untyped JS Values](./reference/accessing-properties-of-untyped-js-values.md)
|
2018-09-11 16:29:44 -07:00
|
|
|
- [Working with Duck-Typed Interfaces](./reference/working-with-duck-typed-interfaces.md)
|
2018-08-03 15:34:35 -07:00
|
|
|
- [Command Line Interface](./reference/cli.md)
|
2018-09-24 11:28:02 -07:00
|
|
|
- [Optimizing for Size](./reference/optimize-size.md)
|
2018-09-27 12:29:56 -07:00
|
|
|
- [Supported Rust Targets](./reference/rust-targets.md)
|
2018-09-28 20:01:46 -07:00
|
|
|
- [Supported Browsers](./reference/browser-support.md)
|
2018-08-03 16:11:34 -07:00
|
|
|
- [Supported Types](./reference/types.md)
|
2018-08-14 18:01:17 -07:00
|
|
|
- [Imported JavaScript Types](./reference/types/imported-js-types.md)
|
|
|
|
- [Exported Rust Types](./reference/types/exported-rust-types.md)
|
|
|
|
- [`JsValue`](./reference/types/jsvalue.md)
|
|
|
|
- [`Box<[JsValue]>`](./reference/types/boxed-jsvalue-slice.md)
|
|
|
|
- [`*const T` and `*mut T`](./reference/types/pointers.md)
|
|
|
|
- [Numbers](./reference/types/numbers.md)
|
|
|
|
- [`bool`](./reference/types/bool.md)
|
|
|
|
- [`char`](./reference/types/char.md)
|
|
|
|
- [`str`](./reference/types/str.md)
|
|
|
|
- [`String`](./reference/types/string.md)
|
|
|
|
- [Number Slices](./reference/types/number-slices.md)
|
|
|
|
- [Boxed Number Slices](./reference/types/boxed-number-slices.md)
|
2018-09-17 18:26:45 -07:00
|
|
|
- [`Result<T, JsValue>`](./reference/types/result.md)
|
2018-08-06 16:35:28 -07:00
|
|
|
- [`#[wasm_bindgen]` Attributes](./reference/attributes/index.md)
|
|
|
|
- [On JavaScript Imports](./reference/attributes/on-js-imports/index.md)
|
|
|
|
- [`catch`](./reference/attributes/on-js-imports/catch.md)
|
|
|
|
- [`constructor`](./reference/attributes/on-js-imports/constructor.md)
|
2018-08-04 10:00:30 -07:00
|
|
|
- [`extends`](./reference/attributes/on-js-imports/extends.md)
|
2018-08-06 16:35:28 -07:00
|
|
|
- [`getter` and `setter`](./reference/attributes/on-js-imports/getter-and-setter.md)
|
2018-11-09 07:59:48 -08:00
|
|
|
- [`final`](./reference/attributes/on-js-imports/final.md)
|
2018-08-07 11:50:40 -07:00
|
|
|
- [`indexing_getter`, `indexing_setter`, and `indexing_deleter`](./reference/attributes/on-js-imports/indexing-getter-setter-deleter.md)
|
2018-08-06 16:35:28 -07:00
|
|
|
- [`js_class = "Blah"`](./reference/attributes/on-js-imports/js_class.md)
|
|
|
|
- [`js_name`](./reference/attributes/on-js-imports/js_name.md)
|
|
|
|
- [`js_namespace`](./reference/attributes/on-js-imports/js_namespace.md)
|
|
|
|
- [`method`](./reference/attributes/on-js-imports/method.md)
|
|
|
|
- [`module = "blah"`](./reference/attributes/on-js-imports/module.md)
|
2019-03-15 08:04:25 -07:00
|
|
|
- [`raw_module = "blah"`](./reference/attributes/on-js-imports/raw_module.md)
|
2018-08-06 16:35:28 -07:00
|
|
|
- [`static_method_of = Blah`](./reference/attributes/on-js-imports/static_method_of.md)
|
2018-08-07 11:14:00 -07:00
|
|
|
- [`structural`](./reference/attributes/on-js-imports/structural.md)
|
2018-09-28 13:17:37 -07:00
|
|
|
- [`variadic`](./reference/attributes/on-js-imports/variadic.md)
|
2018-10-01 12:33:33 -07:00
|
|
|
- [`vendor_prefix`](./reference/attributes/on-js-imports/vendor_prefix.md)
|
2018-08-06 16:35:28 -07:00
|
|
|
- [On Rust Exports](./reference/attributes/on-rust-exports/index.md)
|
|
|
|
- [`constructor`](./reference/attributes/on-rust-exports/constructor.md)
|
|
|
|
- [`js_name = Blah`](./reference/attributes/on-rust-exports/js_name.md)
|
|
|
|
- [`readonly`](./reference/attributes/on-rust-exports/readonly.md)
|
2019-04-14 23:49:24 +03:00
|
|
|
- [`skip`](./reference/attributes/on-rust-exports/skip.md)
|
2018-11-28 09:25:51 -08:00
|
|
|
- [`start`](./reference/attributes/on-rust-exports/start.md)
|
2018-11-17 23:04:19 -05:00
|
|
|
- [`typescript_custom_section`](./reference/attributes/on-rust-exports/typescript_custom_section.md)
|
2019-04-30 10:26:03 -03:00
|
|
|
- [`getter` and `setter`](./reference/attributes/on-rust-exports/getter-and-setter.md)
|
2018-06-19 11:39:38 -07:00
|
|
|
|
2018-09-10 17:51:44 -07:00
|
|
|
- [`web-sys`](./web-sys/index.md)
|
|
|
|
- [Using `web-sys`](./web-sys/using-web-sys.md)
|
|
|
|
- [Cargo Features](./web-sys/cargo-features.md)
|
|
|
|
- [Function Overloads](./web-sys/function-overloads.md)
|
|
|
|
- [Type Translations](./web-sys/type-translations.md)
|
2018-11-08 10:58:55 -08:00
|
|
|
- [Inheritance](./web-sys/inheritance.md)
|
2018-09-10 17:51:44 -07:00
|
|
|
|
2018-09-12 13:14:39 -07:00
|
|
|
- [Testing with `wasm-bindgen-test`](./wasm-bindgen-test/index.md)
|
|
|
|
- [Usage](./wasm-bindgen-test/usage.md)
|
|
|
|
- [Writing Asynchronous Tests](./wasm-bindgen-test/asynchronous-tests.md)
|
|
|
|
- [Testing in Headless Browsers](./wasm-bindgen-test/browsers.md)
|
|
|
|
- [Continuous Integration](./wasm-bindgen-test/continuous-integration.md)
|
|
|
|
|
|
|
|
- [Contributing to `wasm-bindgen`](./contributing/index.md)
|
2018-09-10 15:32:29 -07:00
|
|
|
- [Testing](./contributing/testing.md)
|
|
|
|
- [Internal Design](./contributing/design/index.md)
|
|
|
|
- [JS Objects in Rust](./contributing/design/js-objects-in-rust.md)
|
|
|
|
- [Exporting a function to JS](./contributing/design/exporting-rust.md)
|
|
|
|
- [Exporting a struct to JS](./contributing/design/exporting-rust-struct.md)
|
|
|
|
- [Importing a function from JS](./contributing/design/importing-js.md)
|
|
|
|
- [Importing a class from JS](./contributing/design/importing-js-struct.md)
|
|
|
|
- [Rust Type conversions](./contributing/design/rust-type-conversions.md)
|
|
|
|
- [Types in `wasm-bindgen`](./contributing/design/describe.md)
|
|
|
|
- [`js-sys`](./contributing/js-sys/index.md)
|
|
|
|
- [Testing](./contributing/js-sys/testing.md)
|
|
|
|
- [Adding More APIs](./contributing/js-sys/adding-more-apis.md)
|
|
|
|
- [`web-sys`](./contributing/web-sys/index.md)
|
|
|
|
- [Overview](./contributing/web-sys/overview.md)
|
|
|
|
- [Testing](./contributing/web-sys/testing.md)
|
|
|
|
- [Logging](./contributing/web-sys/logging.md)
|
|
|
|
- [Supporting More Web APIs](./contributing/web-sys/supporting-more-web-apis.md)
|
|
|
|
- [Publishing](./contributing/publishing.md)
|
|
|
|
- [Team](./contributing/team.md)
|