Trait decoded_char::DecodedChars
source · [−]pub trait DecodedChars {
fn decoded_chars(&self) -> Utf8Decoded<Chars<'_>>ⓘNotable traits for Utf8Decoded<C>impl<C: Iterator<Item = char>> Iterator for Utf8Decoded<C> type Item = DecodedChar;;
}Expand description
Extension for str providing the decoded_char method.
Required methods
fn decoded_chars(&self) -> Utf8Decoded<Chars<'_>>ⓘNotable traits for Utf8Decoded<C>impl<C: Iterator<Item = char>> Iterator for Utf8Decoded<C> type Item = DecodedChar;
fn decoded_chars(&self) -> Utf8Decoded<Chars<'_>>ⓘNotable traits for Utf8Decoded<C>impl<C: Iterator<Item = char>> Iterator for Utf8Decoded<C> type Item = DecodedChar;
Returns an iterator over the UTF-8 decoded characters of the string,
wrapped inside a DecodedChar.