Struct handlebars::RenderContext [] [src]

pub struct RenderContext<'a> {
    pub writer: &'a mut Write,
    pub current_template: Option<String>,
    pub root_template: Option<String>,
    pub disable_escape: bool,
    // some fields omitted
}

The context of a render call

this context stores information of a render and a writer where generated content is written to.

Fields

the Write where page is generated

current template name

root template name

Methods

impl<'a> RenderContext<'a>
[src]

Create a render context from a Write

Trait Implementations

impl<'a> Debug for RenderContext<'a>
[src]

Formats the value using the given formatter.