[−][src]Struct markup5ever_rcdom::RcDom
The DOM itself; the result of parsing.
Fields
document: Handle
The Document
itself.
errors: Vec<Cow<'static, str>>
Errors that occurred during parsing.
quirks_mode: QuirksMode
The document's quirks mode.
Trait Implementations
impl Default for RcDom
[src]
impl TreeSink for RcDom
[src]
type Output = Self
The overall result of parsing. Read more
fn finish(self) -> Self
[src]
type Handle = Handle
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
fn parse_error(&mut self, msg: Cow<'static, str>)
[src]
fn get_document(&mut self) -> Handle
[src]
fn get_template_contents(&mut self, target: &Handle) -> Handle
[src]
fn set_quirks_mode(&mut self, mode: QuirksMode)
[src]
fn same_node(&self, x: &Handle, y: &Handle) -> bool
[src]
fn elem_name<'a>(&self, target: &'a Handle) -> ExpandedName<'a>
[src]
fn create_element(
&mut self,
name: QualName,
attrs: Vec<Attribute>,
flags: ElementFlags
) -> Handle
[src]
&mut self,
name: QualName,
attrs: Vec<Attribute>,
flags: ElementFlags
) -> Handle
fn create_comment(&mut self, text: StrTendril) -> Handle
[src]
fn create_pi(&mut self, target: StrTendril, data: StrTendril) -> Handle
[src]
fn append(&mut self, parent: &Handle, child: NodeOrText<Handle>)
[src]
fn append_before_sibling(&mut self, sibling: &Handle, child: NodeOrText<Handle>)
[src]
fn append_based_on_parent_node(
&mut self,
element: &Self::Handle,
prev_element: &Self::Handle,
child: NodeOrText<Self::Handle>
)
[src]
&mut self,
element: &Self::Handle,
prev_element: &Self::Handle,
child: NodeOrText<Self::Handle>
)
fn append_doctype_to_document(
&mut self,
name: StrTendril,
public_id: StrTendril,
system_id: StrTendril
)
[src]
&mut self,
name: StrTendril,
public_id: StrTendril,
system_id: StrTendril
)
fn add_attrs_if_missing(&mut self, target: &Handle, attrs: Vec<Attribute>)
[src]
fn remove_from_parent(&mut self, target: &Handle)
[src]
fn reparent_children(&mut self, node: &Handle, new_parent: &Handle)
[src]
fn is_mathml_annotation_xml_integration_point(&self, target: &Handle) -> bool
[src]
fn mark_script_already_started(&mut self, _node: &Self::Handle)
[src]
fn pop(&mut self, _node: &Self::Handle)
[src]
fn associate_with_form(
&mut self,
_target: &Self::Handle,
_form: &Self::Handle,
_nodes: (&Self::Handle, Option<&Self::Handle>)
)
[src]
&mut self,
_target: &Self::Handle,
_form: &Self::Handle,
_nodes: (&Self::Handle, Option<&Self::Handle>)
)
fn set_current_line(&mut self, _line_number: u64)
[src]
fn complete_script(&mut self, _node: &Self::Handle) -> NextParserState
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RcDom
impl !Send for RcDom
impl !Sync for RcDom
impl Unpin for RcDom
impl !UnwindSafe for RcDom
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,