pub struct HtmlCommentScan {
pub ranges: Vec<ByteRange>,
pub unterminated: Option<usize>,
}Expand description
What a scan of the content found for HTML comments.
Fields§
§ranges: Vec<ByteRange>Byte ranges of the complete comments, in document order.
unterminated: Option<usize>Byte offset of a <!-- that no --> closes. At most one is reported:
once the document has no closer left, no later opener can close either.
Trait Implementations§
Source§impl Debug for HtmlCommentScan
impl Debug for HtmlCommentScan
Source§impl Default for HtmlCommentScan
impl Default for HtmlCommentScan
Source§fn default() -> HtmlCommentScan
fn default() -> HtmlCommentScan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HtmlCommentScan
impl RefUnwindSafe for HtmlCommentScan
impl Send for HtmlCommentScan
impl Sync for HtmlCommentScan
impl Unpin for HtmlCommentScan
impl UnsafeUnpin for HtmlCommentScan
impl UnwindSafe for HtmlCommentScan
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