pub enum CommentSkip {
NotComment,
Skipped(usize),
Unterminated,
}Expand description
What skip_comment found at a position in the input.
Variants§
NotComment
No comment starts here.
Skipped(usize)
A comment ended just before this byte position.
Unterminated
A block comment opened without a closing */ — the lexer’s error
case.
Trait Implementations§
Source§impl Clone for CommentSkip
impl Clone for CommentSkip
impl Copy for CommentSkip
Source§impl Debug for CommentSkip
impl Debug for CommentSkip
impl Eq for CommentSkip
Source§impl PartialEq for CommentSkip
impl PartialEq for CommentSkip
impl StructuralPartialEq for CommentSkip
Auto Trait Implementations§
impl Forget for CommentSkip
impl Freeze for CommentSkip
impl Move for CommentSkip
impl RefUnwindSafe for CommentSkip
impl Send for CommentSkip
impl Sync for CommentSkip
impl Unpin for CommentSkip
impl UnsafeUnpin for CommentSkip
impl UnwindSafe for CommentSkip
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.