๐ฌThis is a nightly-only experimental API. (
wtf8_internals
)Expand description
Heap-allocated counterpart to core wtf8
module.
Structsยง
- Code
Point ๐ปExperimental - A Unicode code point: from U+0000 to U+10FFFF.
- Encode
Wide ๐ปExperimental - Generates a wide character sequence for potentially ill-formed UTF-16.
- Wtf8 ๐ป
Experimental - A borrowed slice of well-formed WTF-8 data.
- Wtf8Buf ๐ป
Experimental - An owned, growable string of well-formed WTF-8 data.
- Wtf8
Code ๐ปPoints Experimental - Iterator for the code points of a WTF-8 string.
Functionsยง
- clone_
into ๐Experimental - decode_
surrogate_ ๐pair Experimental - to_
owned ๐Experimental - Creates an owned
Wtf8Buf
from a borrowedWtf8
. - to_
string_ ๐lossy Experimental - Lossily converts the string to UTF-8.
Returns a UTF-8
&str
slice if the contents are well-formed in UTF-8.