Skip to main content

generate

Function generate 

Source
pub fn generate(src: &str, name: &str) -> Result<String, String>
Expand description

Generates the .g.rs source for a .yui document. name is the screen’s path under src/ without the extension (mod_list, screens/options): what the code-behind passes to ui_include!.