Struct liquid::Template
[−]
[src]
pub struct Template { pub elements: Vec<Box<Renderable>>, }
Fields
elements: Vec<Box<Renderable>>
Methods
impl Template
[src]
fn new(elements: Vec<Box<Renderable>>) -> Template
Trait Implementations
impl Renderable for Template
[src]
fn render(&self, context: &mut Context) -> Result<Option<String>>
Renders the Renderable instance given a Liquid context. The Result that is returned signals if there was an error rendering, the Option