pub fn highlight_rust(text: &str) -> Vec<(usize, usize, Semantic)>
The colored stretches of Rust code, as char indices. It reads tokens, not syntax, so it never fails: unfinished strings and comments color to the end.