Struct xml5ever::tokenizer::Tag [] [src]

pub struct Tag {
    pub kind: TagKind,
    pub name: QName,
    pub attrs: Vec<Attribute>,
}

XML 5 Tag Token

Fields

Token kind denotes which type of token was encountered. E.g. if parser parsed </a> the token kind would be EndTag.

Qualified name of the tag.

List of attributes attached to this tag. Only valid in start and empty tag.

Methods

impl Tag
[src]

Sorts attributes in a tag.

Trait Implementations

impl PartialEq for Tag
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Tag
[src]

impl Debug for Tag
[src]

Formats the value using the given formatter.

impl Clone for Tag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more