Function rustream::templates::environment
source · pub fn environment() -> Arc<Environment<'static>>Expand description
Loads all the HTML templates’ content into a Jinja Environment
§Returns
Returns the constructed Arc for the Environment object, that holds the central configuration state for templates.
It is also the container for all loaded templates.