Enum castle_tokenizer::TokenKind
source · [−]pub enum TokenKind {
Primitive(Primitive),
Identifier(Box<str>),
Punctuator(Punctuator),
LineTerminator,
Keyword(Keyword),
}Variants
Primitive(Primitive)
Identifier(Box<str>)
Punctuator(Punctuator)
LineTerminator
Keyword(Keyword)
Trait Implementations
impl StructuralPartialEq for TokenKind
Auto Trait Implementations
impl RefUnwindSafe for TokenKind
impl Send for TokenKind
impl Sync for TokenKind
impl Unpin for TokenKind
impl UnwindSafe for TokenKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more