pub struct Utf8Lossy { /* private fields */ }
🔬 This is a nightly-only experimental API. (
str_internals
)Expand description
Lossy UTF-8 string.
Implementations
sourceimpl Utf8Lossy
impl Utf8Lossy
pub fn from_bytes(bytes: &[u8]) -> &Utf8Lossy
🔬 This is a nightly-only experimental API. (
str_internals
)pub fn chunks(&self) -> Utf8LossyChunksIter<'_>ⓘNotable traits for Utf8LossyChunksIter<'a>impl<'a> Iterator for Utf8LossyChunksIter<'a> type Item = Utf8LossyChunk<'a>;
🔬 This is a nightly-only experimental API. (
str_internals
)