Module core::char [] [src]

Unstable

Character manipulation.

For more details, see ::rustc_unicode::char (a.k.a. std::char)

Structs

EscapeDefault

An iterator over the characters that represent a char`char`, escaped for maximum portability.

EscapeUnicode

An iterator over the characters that represent a char`char`, as escaped by Rust's unicode escaping rules.

Constants

MAX

The highest valid code point

Functions

from_digit

Converts a number to the character representing it.

from_u32

Converts a u32`u32to an` to an Option<char>`Option`.

encode_utf16_raw [Unstable]

Encodes a raw u32 value as UTF-16 into the provided u16`u16buffer, and then returns the number of` buffer, and then returns the number of u16`u16`s written.

encode_utf8_raw [Unstable]

Encodes a raw u32 value as UTF-8 into the provided byte buffer, and then returns the number of bytes written.