[][src]Module ructe::templates

The module containing your generated template code will also contain everything from here.

The name ructe::templates should never be used. Instead, you should use the module templates created when compiling your templates. If you include the generated templates.rs in your main.rs (or lib.rs in a library crate), this module will be crate::templates.

Structs

Html

Wrapper object for data that should be outputted as raw html (objects that may contain markup).

StaticFile

A static file has a name (so its url can be recognized) and the actual file contents.

Traits

ToHtml

This trait should be implemented for any value that can be the result of an expression in a template.