generate_rust_code

Function generate_rust_code 

Source
pub fn generate_rust_code(
    reporter: &Reporter,
    workspace_path: impl Into<Utf8PathBuf>,
    objects: &Objects,
    type_registry: &TypeRegistry,
    check: bool,
)
Expand description

Generates Rust code.

If check is true, this will run a comparison check instead of writing files to disk.

Panics on error.