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 TokenTypefn clone(&self) -> TokenTypefn clone_from(&mut self, source: &Self)impl Eq for TokenTypeimpl 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).