Enum kagura::html::Html [−][src]
pub enum Html<DemirootComp: Component> {
ComponentNode(ComponentNode<DemirootComp>),
TextNode {
text: String,
events: Events<DemirootComp::Msg>,
},
ElementNode {
tag_name: String,
children: Vec<Self>,
attributes: Attributes,
events: Events<DemirootComp::Msg>,
ref_marker: Vec<RefMarker<DemirootComp>>,
},
Fragment(Vec<Self>),
}
Variants
ComponentNode(ComponentNode<DemirootComp>)
Tuple Fields of ComponentNode
0: ComponentNode<DemirootComp>
Fields of ElementNode
Fragment(Vec<Self>)
Tuple Fields of Fragment
0: Vec<Self>
Implementations
Creates Html from element