Skip to main content

template

Function template 

pub fn template(code: &str) -> Result<AnyTemplate, TemplateError>
Expand description

The registered template under code — the client verb behind the Python template(code), refusing an unknown code by name where lookup answers None.

§Errors

TemplateError naming the code and the registered codes.