# Struct bitflags::__core::char::DecodeUtf16Error [−] [src]

    pub struct DecodeUtf16Error {
        // some fields omitted
    }

1.9.0

An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.

## Methods

### `impl DecodeUtf16Error`

#### `fn unpaired_surrogate(&self) -> u16`

Returns the unpaired surrogate which caused this error.

## Trait Implementations

### `impl Error for DecodeUtf16Error`

#### `fn description(&self) -> &str`

#### `fn cause(&self) -> Option<&Error>`1.0.0

### `impl Display for DecodeUtf16Error`

#### `fn fmt(&self, f: &mut Formatter) -> Result<(), Error>`

### Derived Implementations

### `impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error`

#### `fn eq(&self, __arg_0: &DecodeUtf16Error) -> bool`

#### `fn ne(&self, __arg_0: &DecodeUtf16Error) -> bool`

### `impl Eq for DecodeUtf16Error`

### `impl Clone for DecodeUtf16Error`

#### `fn clone(&self) -> DecodeUtf16Error`

#### `fn clone_from(&mut self, source: &Self)`1.0.0

### `impl Debug for DecodeUtf16Error`

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)