Skip to main content

render_template

Function render_template 

Source
pub fn render_template(
    source: &str,
    value: &impl Serialize,
) -> Result<String, Error>
Expand description

Render value through a Jinja template. Used by View::show_pretty.