Struct nickel::template_cache::TemplateCache [] [src]

pub struct TemplateCache { /* fields omitted */ }

Cache of compiled mustache templates

Methods

impl TemplateCache
[src]

[src]

Create a TemplateCache with the specified reload policy

[src]

Remove all cache entries

[src]

Force a reload of a template into the cache

[src]

Render the template at path to writer with data. Templates will be reloaded if necessary according to the reload policy.