Enum html5tokenizer::trace::Trace
source · pub enum Trace {
Char(Range<usize>),
StartTag(StartTagTrace),
EndTag(EndTagTrace),
Comment(CommentTrace),
Doctype(DoctypeTrace),
EndOfFile(usize),
}
Expand description
Provides byte offsets and syntax information about a Token
.
Variants§
Char(Range<usize>)
StartTag(StartTagTrace)
EndTag(EndTagTrace)
Comment(CommentTrace)
Doctype(DoctypeTrace)
EndOfFile(usize)
Trait Implementations§
source§impl PartialEq for Trace
impl PartialEq for Trace
impl Eq for Trace
impl StructuralEq for Trace
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnwindSafe for Trace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more