Struct html5tokenizer::trace::DoctypeTrace
source · pub struct DoctypeTrace { /* private fields */ }
Expand description
Provides byte offsets for a Doctype
token.
Implementations§
source§impl DoctypeTrace
impl DoctypeTrace
sourcepub fn public_id_span(&self) -> Option<Range<usize>>
pub fn public_id_span(&self) -> Option<Range<usize>>
Returns the span of the public identifier.
sourcepub fn system_id_span(&self) -> Option<Range<usize>>
pub fn system_id_span(&self) -> Option<Range<usize>>
Returns the span of the system identifier.
Trait Implementations§
source§impl Debug for DoctypeTrace
impl Debug for DoctypeTrace
source§impl PartialEq for DoctypeTrace
impl PartialEq for DoctypeTrace
source§fn eq(&self, other: &DoctypeTrace) -> bool
fn eq(&self, other: &DoctypeTrace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DoctypeTrace
impl StructuralEq for DoctypeTrace
impl StructuralPartialEq for DoctypeTrace
Auto Trait Implementations§
impl RefUnwindSafe for DoctypeTrace
impl Send for DoctypeTrace
impl Sync for DoctypeTrace
impl Unpin for DoctypeTrace
impl UnwindSafe for DoctypeTrace
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