Function char_of

Source
pub fn char_of(options: &'static str) -> CharOfParser
Expand description

Make a parser that matches any single character in options and produces the index of that character in the list, so that char_of("ABCD") produces a number in 0..4.