pub type Syntax = fn(&[u8], usize) -> Option<Match>;Expand description
Recognizes the token starting at bytes[i], or None when that byte is
ordinary text.
Called only with i < bytes.len() and i on a character boundary. The
returned end must be greater than i, or the scan cannot make progress.