Enum domafic::dom_node::DOMValue
[−]
[src]
pub enum DOMValue<'a> { Element { tag: &'static str, }, Text(&'a str), }
"Value" of a DomNode
: either an element's tag name (e.g. "div"/"h1"/"body") or the text
value of a text node (e.g. "Hello world!").
Variants
Element
A tag element
Fields of Element
tag: &'static str |
|
Text(&'a str)
A text node