Struct html5tokenizer::trace::CommentTrace
source · pub struct CommentTrace {
pub data_span: Range<usize>,
}
Expand description
Provides byte offsets for a Token::Comment
.
Fields§
§data_span: Range<usize>
The offset of the comment data.
Trait Implementations§
source§impl Debug for CommentTrace
impl Debug for CommentTrace
source§impl PartialEq for CommentTrace
impl PartialEq for CommentTrace
source§fn eq(&self, other: &CommentTrace) -> bool
fn eq(&self, other: &CommentTrace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommentTrace
impl StructuralEq for CommentTrace
impl StructuralPartialEq for CommentTrace
Auto Trait Implementations§
impl RefUnwindSafe for CommentTrace
impl Send for CommentTrace
impl Sync for CommentTrace
impl Unpin for CommentTrace
impl UnwindSafe for CommentTrace
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