Trait askama::Template [] [src]

pub trait Template {
    fn render_to(&self, writer: &mut Write);

    fn render(&self) -> String { ... }
}

Main Template trait; implementations are generally derived

Required Methods

Renders the template to the given writer buffer

Provided Methods

Helper method which allocates a new String and renders into it

Implementors