Enum xml5ever::tree_builder::interface::NodeOrText [] [src]

pub enum NodeOrText<Handle> {
    AppendNode(Handle),
    AppendText(StrTendril),
}

Something which can be inserted into the DOM.

Adjacent sibling text nodes are merged into a single node, so the sink may not want to allocate a Handle for each.

Variants

Appends next element like it is a node

Appends next element as if it was a text element