byte_range_to_char_range_many

Function byte_range_to_char_range_many 

Source
pub fn byte_range_to_char_range_many<R>(
    s: &str,
    byte_ranges: &[R],
) -> Vec<Range> 
where R: RangeBounds<usize> + Debug,
Expand description

Convert many byte ranges to character ranges.

Attention: All byte ranges most NOT overlap and be relative to the same s.