hemplate 0.6.0

Compile-time HTML templates for Rust
Documentation
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() {}