pub fn render_modules(
engine: &Tera,
modules: Vec<&Module>,
context: Option<Context>,
template_name: &str,
) -> Result<String, Error>Expand description
Render the set of modules, with the template in the file template_name, and using engine.
If context is not specified a new blank object is created, and in either case a map is created
under the key "modules" as a map from module name to module representation.
{
"modules": {
"Identifier": {},
}
}In the case of this function the result is returned as a String.