pub fn generate( root: &Element, name: &str, mod_id: Option<&str>, ) -> Result<(String, Vec<String>), String>
Generates a view-model screen’s .g.rs (see the module docs).
.g.rs