Enum syntax::parse::parser::TokenType
[−]
[src]
pub enum TokenType {
Token(Token),
Keyword(Keyword),
Operator,
Lifetime,
Ident,
Path,
Type,
}Variants
Token(Token)Keyword(Keyword)OperatorLifetimeIdentPathType
Trait Implementations
impl PartialEq for TokenType[src]
fn eq(&self, __arg_0: &TokenType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TokenType) -> bool[src]
This method tests for !=.