Struct handlebars::Context [] [src]

pub struct Context { /* fields omitted */ }

The context wrap data you render on your templates.

Methods

impl Context
[src]

Create a context with null data

Create a context with given data

Navigate the context with base path and relative path Typically you will set base path to RenderContext.get_path() and set relative path to helper argument or so.

If you want to navigate from top level, set the base path to "."

Trait Implementations

impl Debug for Context
[src]

Formats the value using the given formatter.

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more