Enum syntax::parse::parser::TokenTypeUnstable
[-] [+]
[src]
pub enum TokenType { Token(Token), Keyword(Keyword), Operator, }
Variants
Token | |
Keyword | |
Operator |
pub enum TokenType { Token(Token), Keyword(Keyword), Operator, }
Token | |
Keyword | |
Operator |
impl Clone for TokenType
fn clone(&self) -> TokenType
fn clone_from(&mut self, source: &Self)
impl Eq for TokenType
fn assert_receiver_is_total_eq(&self)
impl PartialEq for TokenType
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).