# Struct collections::str::EncodeUtf16 1.8.0 [−] [src]

    pub struct EncodeUtf16<'a> { /* fields omitted */ }

An iterator of `u16` over the string encoded as UTF-16.

This struct is created by the `encode_utf16` method on `str`. See its documentation for more.

## Trait Implementations

### `impl<'a> FusedIterator for EncodeUtf16<'a>`
[src]

### `impl<'a> Clone for EncodeUtf16<'a>`
[src]

#### `fn clone(&self) -> EncodeUtf16<'a>`
[src]

### `impl<'a> Debug for EncodeUtf16<'a>`
1.17.0
[src]

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

Formats the value using the given formatter.

### `impl<'a> Iterator for EncodeUtf16<'a>`
[src]

#### `type Item = u16`

#### `fn next(&mut self) -> Option<u16>`
[src]

#### `fn size_hint(&self) -> (usize, Option<usize>)`
[src]

# 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
+
  Collapse/expand all sections

## 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`)