Macro html_node::typed_element
source · macro_rules! typed_element { ($($Name:ident[$name:literal] $Attributes:ident { $($attribute:ident),* $(,)? };)*) => { ... }; (@ $Name:ident[$name:literal] $Attributes:ident { $($attribute:ident),* $(,)? }) => { ... }; }
Expand description
Helper macro to define typed HTML elements.