Crate trimmer [] [src]

Trimmer: A yet another text template engine

Structs

Context

A set of variables passed to a template

Options

Options of the template

ParseError

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

DataError

This error is used to describe invalid variable usage in template

RenderError

Error rendering template

Traits

Variable

A trait that you need to implement to put variable into the rendering context