pub enum AnyNode<'tree> {
Show 20 variants
Attribute(Attribute<'tree>),
Doctype(Doctype<'tree>),
Document(Document<'tree>),
Element(Element<'tree>),
EndTag(EndTag<'tree>),
ErroneousEndTag(ErroneousEndTag<'tree>),
QuotedAttributeValue(QuotedAttributeValue<'tree>),
ScriptElement(ScriptElement<'tree>),
SelfClosingTag(SelfClosingTag<'tree>),
StartTag(StartTag<'tree>),
StyleElement(StyleElement<'tree>),
AttributeName(AttributeName<'tree>),
AttributeValue(AttributeValue<'tree>),
Comment(Comment<'tree>),
Entity(Entity<'tree>),
ErroneousEndTagName(ErroneousEndTagName<'tree>),
RawText(RawText<'tree>),
TagName(TagName<'tree>),
Text(Text<'tree>),
Unknown(Node<'tree>),
}Variants§
Attribute(Attribute<'tree>)
Doctype(Doctype<'tree>)
Document(Document<'tree>)
Element(Element<'tree>)
EndTag(EndTag<'tree>)
ErroneousEndTag(ErroneousEndTag<'tree>)
QuotedAttributeValue(QuotedAttributeValue<'tree>)
ScriptElement(ScriptElement<'tree>)
SelfClosingTag(SelfClosingTag<'tree>)
StartTag(StartTag<'tree>)
StyleElement(StyleElement<'tree>)
AttributeName(AttributeName<'tree>)
AttributeValue(AttributeValue<'tree>)
Comment(Comment<'tree>)
Entity(Entity<'tree>)
ErroneousEndTagName(ErroneousEndTagName<'tree>)
RawText(RawText<'tree>)
TagName(TagName<'tree>)
Text(Text<'tree>)
Unknown(Node<'tree>)
Implementations§
Trait Implementations§
impl<'tree> Eq for AnyNode<'tree>
impl<'tree> StructuralPartialEq for AnyNode<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AnyNode<'tree>
impl<'tree> RefUnwindSafe for AnyNode<'tree>
impl<'tree> Send for AnyNode<'tree>
impl<'tree> Sync for AnyNode<'tree>
impl<'tree> Unpin for AnyNode<'tree>
impl<'tree> UnsafeUnpin for AnyNode<'tree>
impl<'tree> UnwindSafe for AnyNode<'tree>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more