Enum html5ever::tree_builder::NodeOrText [] [src]

pub enum NodeOrText<Handle> {
    AppendNode(Handle),
    AppendText(Tendril<UTF8, NonAtomic>),
}

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