Crate toph

Source
Expand description

A rust macro for writing HTML templates

The entrypoint to this crate is the html! macro.

Macros§

html
This macro implements a syntax for creating HTML Nodes.

Structs§

Element
See Node
Fragment
See Node
Text
See Node

Enums§

Node
A node in an HTML tree structure

Functions§

raw_text
Returns a text Node whose contents are not HTML escaped
text
Returns a text Node whose contents are HTML escaped