Function is_identifier_char

Source
pub fn is_identifier_char(c: char) -> bool
Expand description

Check if a character is valid in an identifier

ยงLearning Rust: Closures and Function Pointers

This function can be used as a predicate take_while1 accepts: fn(char) -> bool