Module methods

Source
Expand description

impl char {}

Structsยง

EscapeDebugExtArgs ๐Ÿ”’

Functionsยง

len_utf8 ๐Ÿ”’
len_utf16 ๐Ÿ”’
encode_utf8_raw ๐Ÿ‘ป Experimental
Encodes a raw u32 value as UTF-8 into the provided byte buffer, and then returns the subslice of the buffer that contains the encoded character.
encode_utf8_raw_unchecked ๐Ÿ‘ป โš Experimental
Encodes a raw u32 value as UTF-8 into the byte buffer pointed to by dst.
encode_utf16_raw ๐Ÿ‘ป Experimental
Encodes a raw u32 value as native endian UTF-16 into the provided u16 buffer, and then returns the subslice of the buffer that contains the encoded character.