Crate rstml_component
source ·Macros§
Structs§
- A formatter for serializing HTML attribute values.
- A formatter for serializing HTML nodes and content.
- 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§
- A trait representing a value that can be used as an attribute value in HTML components.
- A trait representing content that can be formatted into HTML representation.
Type Aliases§
- Sanitize
Config sanitize
Attribute Macros§
- 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
.