1 2 3 4 5 6 7 8 9 10 11 12 13 14
use hemplate::Hemplate; #[derive(Hemplate)] struct UiScriptContext { a: String, b: &'static str, c: u32, d: char, e: bool, f: f64, g: i64, } fn main() {}