Struct xml5ever::rcdom::RcDom [] [src]

pub struct RcDom {
    pub document: Handle,
    pub errors: Vec<Cow<'static, str>>,
}

The DOM itself; the result of parsing.

Fields

The Document itself.

Errors that occurred during parsing.

Trait Implementations

impl TreeSink for RcDom
[src]

Handle is a reference to a DOM node. The tree builder requires that a Handle implements Clone to get another reference to the same node. Read more

The overall result of parsing. Read more

Consume this sink and return the overall result of parsing. Read more

Signal a parse error.

Get a handle to the Document node.

What is the name of this element? Read more

Create an element.

Create a comment node.

Create a Processing Instruction node.

Append a node as the last child of the given node. If this would produce adjacent sibling text nodes, it should concatenate the text instead. Read more

Append a DOCTYPE element to the Document node.

Mark a HTML <script> as "already started".

Indicate that a script element is complete.

Indicate that a node was popped off the stack of open elements.

impl Default for RcDom
[src]

Returns the "default value" for a type. Read more

impl ParseResult for RcDom
[src]

Type of consumer of tree modifications. It also extends Default for convenience. Read more

Returns parsed tree data type