Crate wasm_bindgen_webidl

Source
Expand description

§wasm_bindgen_webidl

Converts WebIDL into wasm-bindgen’s internal AST form, so that bindings can be emitted for the types and methods described in the WebIDL.

Structs§

Feature
Data for a single feature
Options
Options to configure the conversion process
WebIDLParseError
A parse error indicating where parsing failed

Functions§

compile
Compile the given WebIDL source text into Rust source text containing wasm-bindgen bindings to the things described in the WebIDL.
generate
Generates Rust source code with #[wasm_bindgen] annotations.