Function syntex_syntax::ast_util::pat_is_ident  
                   
                       [−]
                   
               [src]
pub fn pat_is_ident(pat: P<Pat>) -> bool
Returns true if the given pattern consists solely of an identifier and false otherwise.