Module wtf8
Heap-allocated counterpart to core wtf8 module.
Structs
- CodePoint
- EncodeWide
- Wtf8
- Wtf8Buf An owned, growable string of well-formed WTF-8 data.
- Wtf8CodePoints
Functions
- clone_into
- decode_surrogate_pair
-
to_owned
Creates an owned
Wtf8Buffrom a borrowedWtf8. -
to_string_lossy
Lossily converts the string to UTF-8.
Returns a UTF-8
&strslice if the contents are well-formed in UTF-8.