Struct tera::Tera [] [src]

pub struct Tera {
    pub templates: HashMap<StringTemplate>,
    pub filters: HashMap<String, fn(Value, HashMap<String, Value>) -> TeraResult<Value>>,
    pub testers: HashMap<String, fn(context: &Map<String, Value>, value: &Node, params: LinkedList<Value>) -> TeraResult<bool>>,
}

Fields

Methods

impl Tera
[src]

Trait Implementations

impl Default for Tera
[src]

Returns the "default value" for a type. Read more

impl Debug for Tera
[src]

Formats the value using the given formatter.