Enum syntax::parse::parser::TokenType [] [src]

pub enum TokenType {
    Token(Token),
    Keyword(Keyword),
    Operator,
    Lifetime,
    Ident,
    Path,
    Type,
}

Variants

Trait Implementations

impl PartialEq for TokenType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for TokenType
[src]

impl Clone for TokenType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for TokenType

impl !Sync for TokenType