transform_toml

Function transform_toml 

Source
pub fn transform_toml(source: &str, driver_name: &str) -> String
Expand description

Transform the toml string to the generated device driver (or a compile error).

The driver_name arg is used to name the root block of the driver. It should be given in PascalCase form.