pub fn compile(
    webidl_source: &str,
    allowed_types: Option<&[&str]>
) -> Result<String>
Expand description

Compile the given WebIDL source text into Rust source text containing wasm-bindgen bindings to the things described in the WebIDL.