Struct mustache::Context [] [src]

pub struct Context {
    pub template_path: PathBuf,
    pub template_extension: String,
}

Represents the shared metadata needed to compile and render a mustache template.

Fields

Methods

impl Context
[src]

[src]

Configures a mustache context the specified path to the templates.

[src]

Compiles a template from a string

[src]

Compiles a template from a path.

Trait Implementations

impl Clone for Context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Context
[src]

[src]

Formats the value using the given formatter.