Skip to main content

range_from_utf16

Function range_from_utf16 

Source
pub fn range_from_utf16(text: &str, range: Range<usize>) -> Range<usize> 
Expand description

Platform range → byte range, clamped to character boundaries in text.