# [−][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]

#### `fn fmt(&self, f: &mut Formatter<'_>) -> Result`[src]

Formats the value using the given formatter. Read more

### `impl Display for Utf8Lossy`[src]

#### `fn fmt(&self, f: &mut Formatter<'_>) -> Result`[src]

Formats the value using the given formatter. Read more

## 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]

#### `fn type_id(&Self) -> TypeId`[src]

Gets the `TypeId` of `self`. Read more

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

#### `fn borrow(&Self) -> &T`[src]

Immutably borrows from an owned value. Read more

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

#### `fn borrow_mut(&mut Self) -> &mut T`[src]

Mutably borrows from an owned value. Read more