pub enum TokenType {
Show 15 variants
Month,
Weekday,
CasualDate,
CasualTime,
TimeUnit,
RelativeModifier,
Ago,
Later,
Within,
At,
In,
On,
From,
Before,
After,
}Expand description
Categories of token the scanner can emit.
Variants§
Month
Weekday
CasualDate
CasualTime
TimeUnit
RelativeModifier
Ago
Later
Within
At
In
On
From
Before
After
Trait Implementations§
impl Copy for TokenType
impl Eq for TokenType
impl StructuralPartialEq for TokenType
Auto Trait Implementations§
impl Freeze for TokenType
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnsafeUnpin for TokenType
impl UnwindSafe for TokenType
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