pub type Document = RcDom;
Expand description
An HTML5 document.
Aliased Type§
pub struct Document {
pub document: Rc<Node>,
pub errors: Vec<Cow<'static, str>>,
pub quirks_mode: QuirksMode,
}
Fields§
§document: Rc<Node>
The Document
itself.
errors: Vec<Cow<'static, str>>
Errors that occurred during parsing.
quirks_mode: QuirksMode
The document’s quirks mode.