[][src]Function wasm_bindgen_webidl::compile

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

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