Structs§
- An iterator that decodes UTF-16 encoded code points from an iterator of
u16
s. - An error that can be returned when decoding UTF-16 code points.
- An iterator that yields the literal escape code of a
char
. - An iterator that yields the literal escape code of a
char
. - Returns an iterator that yields the hexadecimal Unicode escape of a character, as
char
s. - An error which can be returned when parsing a char.
- Returns an iterator that yields the lowercase equivalent of a
char
. - Returns an iterator that yields the uppercase equivalent of a
char
. - The error type returned when a checked char conversion fails.
Constants§
U+FFFD REPLACEMENT CHARACTER
(�) is used in Unicode to represent a decoding error. Usechar::REPLACEMENT_CHARACTER
instead.- The version of Unicode that the Unicode parts of
char
andstr
methods are based on. Usechar::UNICODE_VERSION
instead.
Functions§
- Creates an iterator over the UTF-16 encoded code points in
iter
, returning unpaired surrogates asErr
s. Usechar::decode_utf16
instead. - Converts a digit in the given radix to a
char
. Usechar::from_digit
instead.