Struct mustache::Template
[−]
[src]
pub struct Template { // some fields omitted }
Template
represents a compiled mustache file.
Methods
impl Template
[src]
fn render<'a, W: Write, T: Encodable>(&self, wr: &mut W, data: &T) -> Result<(), Error>
Renders the template with the Encodable
data.
fn render_data<'a, W: Write>(&self, wr: &mut W, data: &Data)
Renders the template with the Data
.
Trait Implementations
impl Clone for Template
[src]
fn clone(&self) -> Template
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more