Module core::char::methods

source ·
Expand description

impl char {}

Structs

Functions

  • encode_utf8_rawExperimental
    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_utf16_rawExperimental
    Encodes a raw u32 value as UTF-16 into the provided u16 buffer, and then returns the subslice of the buffer that contains the encoded character.
  • len_utf8 🔒