Skip to main content

render_template

Function render_template 

Source
pub fn render_template(
    template: &StringTemplate,
    scope: &Scope,
) -> Result<String, CoreError>
Expand description

Renders template against scope: literal parts pass through unchanged, {expr} parts are evaluated and interpolated (strings verbatim, booleans as true/false).