Struct html5tokenizer::trace::StartTagTrace
source · pub struct StartTagTrace {
pub span: Range<usize>,
pub name_span: Range<usize>,
pub attribute_traces: AttributeTraceList,
}
Expand description
Provides byte offsets and syntax information for a StartTag
token.
Fields§
§span: Range<usize>
The span of the tag.
name_span: Range<usize>
The span of the tag name.
attribute_traces: AttributeTraceList
List of AttributeTrace
s for the attributes that were present in the source.
Trait Implementations§
source§impl Debug for StartTagTrace
impl Debug for StartTagTrace
source§impl PartialEq for StartTagTrace
impl PartialEq for StartTagTrace
source§fn eq(&self, other: &StartTagTrace) -> bool
fn eq(&self, other: &StartTagTrace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StartTagTrace
impl StructuralEq for StartTagTrace
impl StructuralPartialEq for StartTagTrace
Auto Trait Implementations§
impl RefUnwindSafe for StartTagTrace
impl Send for StartTagTrace
impl Sync for StartTagTrace
impl Unpin for StartTagTrace
impl UnwindSafe for StartTagTrace
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