Struct handlebars::Template [] [src]

pub struct Template {
    pub name: Option<String>,
    pub elements: Vec<TemplateElement>,
    pub mapping: Option<Vec<TemplateMapping>>,
}

A handlebars template

Fields

Methods

impl Template
[src]

Trait Implementations

impl PartialEq for Template
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Template
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Template
[src]

Formats the value using the given formatter.

impl Renderable for Template
[src]

render into RenderContext's writer

render into string

impl Evaluable for Template
[src]