pub fn render_modules_to<W: Write>(
engine: &Tera,
modules: Vec<&Module>,
context: Option<Context>,
template_name: &str,
w: &mut W,
) -> Result<(), 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 template is rendered to the write implementation w.