mage 0.2.0

An intuitive and powerful template engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11

#[derive(Debug, Clone)]
pub struct Include {
    pub path: String,
}

impl Include {
    pub fn new<T: Into<String>>(path: T) -> Include {
        Include { path: path.into() }
    }
}