Module ructe::templates[][src]

Expand description

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

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

Return type for ToHtml::to_buffer.

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

Traits

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