pub enum StrStep<'a> {
Token {
kind: SyntaxKind,
text: &'a str,
},
Enter {
kind: SyntaxKind,
},
Exit,
Error {
msg: &'a str,
pos: usize,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StrStep<'a>
impl<'a> RefUnwindSafe for StrStep<'a>
impl<'a> Send for StrStep<'a>
impl<'a> Sync for StrStep<'a>
impl<'a> Unpin for StrStep<'a>
impl<'a> UnwindSafe for StrStep<'a>
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