Struct html5ever::tokenizer::Tag
[−]
[src]
pub struct Tag {
pub kind: TagKind,
pub name: LocalName,
pub self_closing: bool,
pub attrs: Vec<Attribute>,
}A tag token.
Fields
kind: TagKind
name: LocalName
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 PartialEq for Tag[src]
fn eq(&self, __arg_0: &Tag) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Tag) -> bool
This method tests for !=.
impl Eq 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