Function glint::string::to_byte_range[][src]

pub fn to_byte_range(s: &str, grapheme_offset: usize) -> Range<usize>