Modules§
Macros§
- make_
tera_ template - Macro to generate the Earth trait implementation for a struct. This macro takes in the name of the struct, the name of a template, and a reference to a global, lazy locked tera instance. It then creates a context from self (because earth implies serialize and therefore we can create context from serialize) and then render_to template, with context.