Expand description
A macro for writing HTML templates.
This documentation only describes the runtime API. For a general guide, check out the book instead.
Macros§
Structs§
- Escaper
- An adapter that escapes HTML special characters.
- PreEscaped
- A wrapper that renders the inner value without escaping.
Constants§
- DOCTYPE
- The literal string
<!DOCTYPE html>
.
Traits§
- Render
- Represents a type that can be rendered as HTML.
Functions§
Type Aliases§
- Markup
- A block of markup is a string that does not need to be escaped.