[][src]Struct core::str::lossy::Utf8Lossy

pub struct Utf8Lossy { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (str_internals)

Lossy UTF-8 string.

Implementations

impl Utf8Lossy[src]

pub fn from_str(s: &str) -> &Utf8Lossy[src]

🔬 This is a nightly-only experimental API. (str_internals)

pub fn from_bytes(bytes: &[u8]) -> &Utf8Lossy[src]

🔬 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>;
[src]

🔬 This is a nightly-only experimental API. (str_internals)

Trait Implementations

impl Debug for Utf8Lossy[src]

impl Display for Utf8Lossy[src]

Auto Trait Implementations

impl Send for Utf8Lossy

impl Sync for Utf8Lossy

impl Unpin for Utf8Lossy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]