Skip to main content

generate

Function generate 

Source
pub fn generate(
    source: WitSource,
    world: Option<&str>,
    namespace: &str,
) -> Result<String, Error>
Expand description

Generate C# bindings for the world named world in source, or its last world. All generated types are placed under namespace.

ยงPanics

If source cannot be read or elaborated, as the bindgen macros do.