Struct html5tokenizer::Tag [−][src]
pub struct Tag {
pub kind: TagKind,
pub name: String,
pub self_closing: bool,
pub attrs: Vec<Attribute>,
pub name_span: Range<usize>,
}
Expand description
A tag token.
Fields
kind: TagKind
name: String
self_closing: bool
attrs: Vec<Attribute>
name_span: Range<usize>
This is supported on crate feature
spans
only.Implementations
Are the tags equivalent when we don’t care about attribute order? Also ignores the self-closing flag and spans.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more