Struct dioxus_core::VElement [−][src]
pub struct VElement<'a> {
pub tag: &'static str,
pub namespace: Option<&'static str>,
pub key: Option<&'a str>,
pub id: Cell<Option<ElementId>>,
pub parent: Cell<Option<ElementId>>,
pub listeners: &'a [Listener<'a>],
pub attributes: &'a [Attribute<'a>],
pub children: &'a [VNode<'a>],
}Expand description
An element like a “div” with children, listeners, and attributes.
Fields
tag: &'static strnamespace: Option<&'static str>key: Option<&'a str>id: Cell<Option<ElementId>>parent: Cell<Option<ElementId>>listeners: &'a [Listener<'a>]attributes: &'a [Attribute<'a>]children: &'a [VNode<'a>]