Enum html5ever::rcdom::ElementEnum [] [src]

pub enum ElementEnum {
    Normal,
    Script(bool),
    Template(Handle),
    AnnotationXml(bool),
}

The different kinds of elements in the DOM.

Variants

A script element and its "already started" flag. https://html.spec.whatwg.org/multipage/#already-started

A template element and its template contents. https://html.spec.whatwg.org/multipage/#template-contents

An annotation-xml element in the MathML namespace whose start tag token had an attribute with the name "encoding" whose value was an ASCII case-insensitive match for the string "text/html" or "application/xhtml+xml" https://html.spec.whatwg.org/multipage/embedded-content.html#math:annotation-xml

Trait Implementations

impl Debug for ElementEnum
[src]

Formats the value using the given formatter.