Module prelude

Source
Expand description

Re-exported items for convenience.

This module re-exports all the commonly used items from the crate, so you can use them without having to import them individually. It also re-exports the hypertext_elements module, and any framework-specific attribute traits that have been enabled, as well as the GlobalAttributes trait.

Re-exports§

pub use crate::validation::hypertext_elements;
pub use crate::Renderable;alloc
pub use crate::RenderableExt as _;alloc
pub use crate::Rendered;alloc
pub use crate::validation::attributes::*;

Macros§

attributealloc
Generate an attribute value, returning a LazyAttribute.
maudalloc
Generate HTML using maud syntax, returning a Lazy.
rsxalloc
Generate HTML using rsx syntax, returning a Lazy.

Attribute Macros§

componentalloc
Convert a function returning a Renderable into a component.

Derive Macros§

Renderablealloc
Derive Renderable for a type.