Skip to main content

render

Function render 

Source
pub fn render(
    source: &str,
    ctx: &mut impl EvalContext,
    registry: &Registry,
) -> Result<String, RenderError>
Expand description

Parse source text and evaluate it in a single step.

For repeated evaluation of the same source, prefer CompiledTemplate to avoid re-parsing.