Struct handlebars::Helper [] [src]

pub struct Helper<'a> { /* fields omitted */ }

Render-time Helper data when using in a helper definition

Methods

impl<'a, 'b> Helper<'a>
[src]

Returns helper name

Returns all helper params, resolved within the context

Returns nth helper param, resolved within the context

Returns hash, resolved within the context

Return hash value of a given key, resolved within the context

Returns the default inner template if any

Returns the template of else branch if any

Returns if the helper is a block one {{#helper}}{{/helper}} or not {{helper 123}}

Returns block param if any

Return block param pair (for example |key, val|) if any