pub trait CharRangesExt {
    // Required method
    fn char_ranges(&self) -> CharRanges<'_> ;
}

Required Methods§

source

fn char_ranges(&self) -> CharRanges<'_>

Returns an iterator over chars and their start and end byte positions.

See examples in the crate root.

Implementations on Foreign Types§

source§

impl CharRangesExt for str

Implementors§