Function renderer

Source
pub fn renderer<T>(engine: T, name: impl Into<Cow<'static, str>>) -> Renderer<T>
where T: TemplateEngine,
Expand description

Create a new Renderer from the specified template engine and template name.