Enum html5ever::rcdom::NodeEnum [] [src]

pub enum NodeEnum {
    Document,
    Doctype(StrTendril, StrTendril, StrTendril),
    Text(StrTendril),
    Comment(StrTendril),
    Element(QualName, ElementEnumVec<Attribute>),
}

The different kinds of nodes in the DOM.

Variants

Document

The Document itself.

Doctype(StrTendril, StrTendril, StrTendril)

A DOCTYPE with name, public id, and system id.

Text(StrTendril)

A text node.

Comment(StrTendril)

A comment.

Element(QualName, ElementEnumVec<Attribute>)

An element with attributes.

Trait Implementations

impl Debug for NodeEnum
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.