Function glint::string::to_byte_offset[][src]

pub fn to_byte_offset(s: &str, grapheme_offset: usize) -> usize