Enum syntax::parse::parser::TokenTypeExperimental
[-]
[+]
[src]
pub enum TokenType {
Token(Token),
Operator,
}Variants
Token | |
Operator |
pub enum TokenType {
Token(Token),
Operator,
}Token | |
Operator |
impl Clone for TokenTypefn clone(&self) -> TokenTypefn clone_from(&mut self, source: &Self)impl Eq for TokenTypefn 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).