Struct rofl::TemplateLoader [] [src]

pub struct TemplateLoader { /* fields omitted */ }

Loader for templates stored in a directory.

Template names are translated directly into file names, loaded, and cached.

Methods

impl TemplateLoader
[src]

Create a new template loader.

Trait Implementations

impl Debug for TemplateLoader
[src]

Formats the value using the given formatter.

impl Loader for TemplateLoader
[src]

Type of resources that this loader can load.

Error that may occur while loading the resource.

Load a template given its name.