Type Alias Element

Source
pub type Element<MSG> = Element<Widget, Event, MSG>;

Aliased Type§

pub struct Element<MSG> {
    pub tag: Widget,
    pub attrs: Vec<Attribute<Event, MSG>>,
    pub children: Vec<Node<Widget, Event, MSG>>,
    pub namespace: Option<&'static str>,
}

Fields§

§tag: Widget§attrs: Vec<Attribute<Event, MSG>>§children: Vec<Node<Widget, Event, MSG>>§namespace: Option<&'static str>