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

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

The different kinds of nodes in the DOM.

Variants

Document

The Document itself.

Doctype

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

Text

A text node.

Comment

A comment.

Element

An element with attributes.

Trait Implementations

Derived Implementations

impl Debug for NodeEnum

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