Expand description
impl char {}
Re-exportsยง
use crate::panic::const_panic;๐Experimental use crate::slice;๐use crate::str::from_utf8_unchecked_mut;๐use crate::ub_checks::assert_unsafe_precondition;๐Experimental use crate::unicode;๐Experimental use crate::unicode::conversions;๐Experimental use super::*;๐
Structsยง
- Escape
Debug ๐ExtArgs
Functionsยง
- len_
utf8 ๐ - len_
utf16 ๐ - encode_
utf8_ ๐ปraw Experimental - Encodes a raw
u32value 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
u32value as UTF-8 into the byte buffer pointed to bydst. - encode_
utf16_ ๐ปraw Experimental - Encodes a raw
u32value as native endian UTF-16 into the providedu16buffer, and then returns the subslice of the buffer that contains the encoded character.