Crate gtmpl_derive[][src]

Expand description

This crate provides gtmpl_value’s derive macro.

use gtmpl_derive::Gtmpl;
use gtmpl_value::Value;

#[derive(Gtmpl)]
struct Foo {
    bar: u8
}

let v: Value = (Foo { bar: 23 }).into();

Derive Macros

Gtmpl