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, escaped for maximum portability.

EscapeUnicode

An iterator over the characters that represent a 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 to an Option<char>.

encode_utf16_raw [Unstable]

Encodes a raw u32 value as UTF-16 into the provided u16 buffer, and then returns the number of u16s 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.