pub enum TokType {
Show 16 variants
String,
Name,
Number,
Op,
Newline,
Indent,
Dedent,
Async,
Await,
FStringStart,
FStringString,
FStringEnd,
TStringStart,
TStringString,
TStringEnd,
EndMarker,
}
Variants§
String
Name
Number
Op
Newline
Indent
Dedent
Async
Await
FStringStart
FStringString
FStringEnd
TStringStart
TStringString
TStringEnd
EndMarker
Trait Implementations§
impl Copy for TokType
impl Eq for TokType
impl StructuralPartialEq for TokType
Auto Trait Implementations§
impl Freeze for TokType
impl RefUnwindSafe for TokType
impl Send for TokType
impl Sync for TokType
impl Unpin for TokType
impl UnwindSafe for TokType
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