Struct html5ever::tokenizer::Tag
[−]
[src]
pub struct Tag {
pub kind: TagKind,
pub name: Atom,
pub self_closing: bool,
pub attrs: Vec<Attribute>,
}A tag token.
Fields
kind: TagKind
name: Atom
self_closing: bool
attrs: Vec<Attribute>
Methods
impl Tag[src]
fn equiv_modulo_attr_order(&self, other: &Tag) -> bool
Are the tags equivalent when we don't care about attribute order? Also ignores the self-closing flag.
Trait Implementations
impl Debug for Tag[src]
impl Clone for Tag[src]
fn clone(&self) -> Tag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more