pub struct TemplateCache { /* private fields */ }
Expand description

Cache of compiled mustache templates

Implementations

Create a TemplateCache with the specified reload policy

Remove all cache entries

Force a reload of a template into the cache

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Get the TypeId of this object.