Expand description
Trimmer: A yet another text template engine
User Guide | Github | Crate
Structs§
- Comparable
- An internal representation of something that can be compared
- Context
- A set of variables passed to a template
- Number
- An internal representation of a number that may be integer of real
- Options
- Options of the template
- Output
- A value returned from
Variable::output
- Parse
Error - Error parsing template
- Parser
- A reusable parser
- Pos
- Position of something in code
- Template
- A parsed template code that can be rendered
- Var
- Variable reference returned from methods of Variable trait
Enums§
- Data
Error - This error is used to describe invalid variable usage in template
- Render
Error - Error rendering template
Traits§
- Variable
- A trait that you need to implement to put variable into the rendering context
Functions§
- render_
json - Renders a template using variables from
serde_json::Value