Struct xml5ever::tokenizer::Tag
[−]
[src]
pub struct Tag { pub kind: TagKind, pub name: QualName, pub attrs: Vec<Attribute>, }
XML 5 Tag Token
Fields
kind: TagKind
Token kind denotes which type of token was encountered.
E.g. if parser parsed </a>
the token kind would be EndTag
.
name: QualName
Qualified name of the tag.
attrs: Vec<Attribute>
List of attributes attached to this tag. Only valid in start and empty tag.
Methods
impl Tag
[src]
fn equiv_modulo_attr_order(&self, other: &Tag) -> bool
[src]
Sorts attributes in a tag.
Trait Implementations
impl PartialEq for Tag
[src]
fn eq(&self, __arg_0: &Tag) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tag) -> bool
[src]
This method tests for !=
.