Module core::charExperimental [-]  [+] [src]

Character manipulation.

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

Primitive Types

char

Character manipulation.

Constants

pub const MAX: char = '\U0010ffff'

The highest valid code point

 

Traits

Char

Basic char manipulations.

Functions

escape_default

Returns a 'default' ASCII and C++11-like literal escape of a char

escape_unicode

Returns the hexadecimal Unicode escape of a char

from_digit

Converts a number to the character representing it

from_u32

Converts from u32 to a char

is_digit_radix

Checks if a char parses as a numeric digit in the given radix

len_utf8_bytes

Returns the amount of bytes this char would need if encoded in UTF-8

to_digit

Converts a char to the corresponding digit