Macros§
Structs§
- For
- Html
Attribute Formatter - A formatter for serializing HTML attribute values.
- Html
Attributes Formatter - Html
Formatter - A formatter for serializing HTML nodes and content.
- RawText
- A struct for embedding raw, unsanitized HTML content.
- Sanitized
sanitize
- A wrapper struct for adding potentially unsanitized HTML content that will be sanitized before rendering.
Traits§
- Html
Attribute Value - A trait representing a value that can be used as an attribute value in HTML components.
- Html
Attributes - Html
Component - Html
Content - A trait representing content that can be formatted into HTML representation.
Type Aliases§
- Sanitize
Config sanitize
Attribute Macros§
- component
- Turns a function into a component function, arguments to the attribute macro are the visibility
for the generated struct and the name of the struct. The function should return
impl HtmlContent
.