text: <!DOCTYPE html>
  <html lang="en">
  <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="generator" content="rustdoc">
      <meta name="description" content="API documentation for the Rust `Utf16Units` struct in crate `collections`.">
      <meta name="keywords" content="rust, rustlang, rust-lang, Utf16Units">
  
      <title>collections::str::Utf16Units - Rust</title>
  
      <link rel="stylesheet" type="text/css" href="../../rustdoc.css">
      <link rel="stylesheet" type="text/css" href="../../main.css">
  
      <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico">
      
  </head>
  <body class="rustdoc">
      <!--[if lte IE 8]>
      <div class="warning">
          This old browser is unsupported and will most likely display funky
          things.
      </div>
      <![endif]-->
  
      
  
      <nav class="sidebar">
          <a href='../../collections/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a>
          <p class='location'><a href='../index.html'>collections</a>::<wbr><a href='index.html'>str</a></p><script>window.sidebarCurrent = {name: 'Utf16Units', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script>
      </nav>
  
      <nav class="sub">
          <form class="search-form js-only">
              <div class="search-container">
                  <input class="search-input" name="search"
                         autocomplete="off"
                         placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
                         type="search">
              </div>
          </form>
      </nav>
  
      <section id='main' class="content struct">
  <h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>collections</a>::<wbr><a href='index.html'>str</a>::<wbr><a class='struct' href=''>Utf16Units</a></span><span class='out-of-band'><span id='render-detail'>
              <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
                  [<span class='inner'>&#x2212;</span>]
              </a>
          </span><a id='src-3348' class='srclink' href='../../src/collections/str.rs.html#124-126' title='goto source code'>[src]</a></span></h1>
  <pre class='rust struct'>pub struct Utf16Units&lt;'a&gt; {
      // some fields omitted
  }</pre><div class='stability'><em class='stab unstable'>Unstable (<code>str_utf16</code> <a href="https://github.com/rust-lang/rust/issues/27714">#27714</a>)</em></div><div class='docblock'><p>External iterator for a string&#39;s UTF-16 code units.</p>
  
  <p>For use with the <code>std::iter</code> module.</p>
  </div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><code>impl&lt;'a&gt; <a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Iterator</a> for <a class='struct' href='../../collections/str/struct.Utf16Units.html' title='collections::str::Utf16Units'>Utf16Units</a>&lt;'a&gt;</code></h3><div class='impl-items'><h4 id='assoc_type.Item' class='type'><code>type Item = u16</code></h4>
  <h4 id='method.next' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.next' class='fnname'>next</a>(&amp;mut self) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;u16&gt;</code></h4>
  <h4 id='method.size_hint' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.size_hint' class='fnname'>size_hint</a>(&amp;self) -&gt; (usize, <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;usize&gt;)</code></h4>
  <h4 id='method.count' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.count' class='fnname'>count</a>(self) -&gt; usize</code></h4>
  <h4 id='method.last' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.last' class='fnname'>last</a>(self) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;</code></h4>
  <h4 id='method.nth' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.nth' class='fnname'>nth</a>(&amp;mut self, n: usize) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;</code></h4>
  <h4 id='method.chain' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.chain' class='fnname'>chain</a>&lt;U&gt;(self, other: U) -&gt; <a class='struct' href='../../core/iter/struct.Chain.html' title='core::iter::Chain'>Chain</a>&lt;Self, U::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIter</a>&gt; <span class='where'>where U: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>&lt;Item=Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.zip' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.zip' class='fnname'>zip</a>&lt;U&gt;(self, other: U) -&gt; <a class='struct' href='../../core/iter/struct.Zip.html' title='core::iter::Zip'>Zip</a>&lt;Self, U::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIter</a>&gt; <span class='where'>where U: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a></span></code></h4>
  <h4 id='method.map' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.map' class='fnname'>map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='struct' href='../../core/iter/struct.Map.html' title='core::iter::Map'>Map</a>&lt;Self, F&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B</span></code></h4>
  <h4 id='method.filter' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.filter' class='fnname'>filter</a>&lt;P&gt;(self, predicate: P) -&gt; <a class='struct' href='../../core/iter/struct.Filter.html' title='core::iter::Filter'>Filter</a>&lt;Self, P&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.filter_map' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.filter_map' class='fnname'>filter_map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='struct' href='../../core/iter/struct.FilterMap.html' title='core::iter::FilterMap'>FilterMap</a>&lt;Self, F&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;B&gt;</span></code></h4>
  <h4 id='method.enumerate' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.enumerate' class='fnname'>enumerate</a>(self) -&gt; <a class='struct' href='../../core/iter/struct.Enumerate.html' title='core::iter::Enumerate'>Enumerate</a>&lt;Self&gt;</code></h4>
  <h4 id='method.peekable' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.peekable' class='fnname'>peekable</a>(self) -&gt; <a class='struct' href='../../core/iter/struct.Peekable.html' title='core::iter::Peekable'>Peekable</a>&lt;Self&gt;</code></h4>
  <h4 id='method.skip_while' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.skip_while' class='fnname'>skip_while</a>&lt;P&gt;(self, predicate: P) -&gt; <a class='struct' href='../../core/iter/struct.SkipWhile.html' title='core::iter::SkipWhile'>SkipWhile</a>&lt;Self, P&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.take_while' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.take_while' class='fnname'>take_while</a>&lt;P&gt;(self, predicate: P) -&gt; <a class='struct' href='../../core/iter/struct.TakeWhile.html' title='core::iter::TakeWhile'>TakeWhile</a>&lt;Self, P&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.skip' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.skip' class='fnname'>skip</a>(self, n: usize) -&gt; <a class='struct' href='../../core/iter/struct.Skip.html' title='core::iter::Skip'>Skip</a>&lt;Self&gt;</code></h4>
  <h4 id='method.take' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.take' class='fnname'>take</a>(self, n: usize) -&gt; <a class='struct' href='../../core/iter/struct.Take.html' title='core::iter::Take'>Take</a>&lt;Self&gt;</code></h4>
  <h4 id='method.scan' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.scan' class='fnname'>scan</a>&lt;St, B, F&gt;(self, initial_state: St, f: F) -&gt; <a class='struct' href='../../core/iter/struct.Scan.html' title='core::iter::Scan'>Scan</a>&lt;Self, St, F&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;mut St, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;B&gt;</span></code></h4>
  <h4 id='method.flat_map' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.flat_map' class='fnname'>flat_map</a>&lt;U, F&gt;(self, f: F) -&gt; <a class='struct' href='../../core/iter/struct.FlatMap.html' title='core::iter::FlatMap'>FlatMap</a>&lt;Self, U, F&gt; <span class='where'>where U: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; U</span></code></h4>
  <h4 id='method.fuse' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.fuse' class='fnname'>fuse</a>(self) -&gt; <a class='struct' href='../../core/iter/struct.Fuse.html' title='core::iter::Fuse'>Fuse</a>&lt;Self&gt;</code></h4>
  <h4 id='method.inspect' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.inspect' class='fnname'>inspect</a>&lt;F&gt;(self, f: F) -&gt; <a class='struct' href='../../core/iter/struct.Inspect.html' title='core::iter::Inspect'>Inspect</a>&lt;Self, F&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; ()</span></code></h4>
  <h4 id='method.by_ref' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.by_ref' class='fnname'>by_ref</a>(&amp;mut self) -&gt; &amp;mut Self</code></h4>
  <h4 id='method.collect' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.collect' class='fnname'>collect</a>&lt;B&gt;(self) -&gt; B <span class='where'>where B: <a class='trait' href='../../core/iter/trait.FromIterator.html' title='core::iter::FromIterator'>FromIterator</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.partition' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.partition' class='fnname'>partition</a>&lt;B, F&gt;(self, f: F) -&gt; (B, B) <span class='where'>where B: <a class='trait' href='../../core/default/trait.Default.html' title='core::default::Default'>Default</a> + <a class='trait' href='../../core/iter/trait.Extend.html' title='core::iter::Extend'>Extend</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;, F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.fold' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.fold' class='fnname'>fold</a>&lt;B, F&gt;(self, init: B, f: F) -&gt; B <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(B, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B</span></code></h4>
  <h4 id='method.all' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.all' class='fnname'>all</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; bool <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.any' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.any' class='fnname'>any</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; bool <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.find' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.find' class='fnname'>find</a>&lt;P&gt;(&amp;mut self, predicate: P) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.position' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.position' class='fnname'>position</a>&lt;P&gt;(&amp;mut self, predicate: P) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;usize&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool</span></code></h4>
  <h4 id='method.rposition' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.rposition' class='fnname'>rposition</a>&lt;P&gt;(&amp;mut self, predicate: P) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;usize&gt; <span class='where'>where P: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; bool, Self: <a class='trait' href='../../core/iter/trait.ExactSizeIterator.html' title='core::iter::ExactSizeIterator'>ExactSizeIterator</a> + <a class='trait' href='../../core/iter/trait.DoubleEndedIterator.html' title='core::iter::DoubleEndedIterator'>DoubleEndedIterator</a></span></code></h4>
  <h4 id='method.max' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.max' class='fnname'>max</a>(self) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a></span></code></h4>
  <h4 id='method.min' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.min' class='fnname'>min</a>(self) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a></span></code></h4>
  <h4 id='method.max_by' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.max_by' class='fnname'>max_by</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where B: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a>, F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B</span></code></h4>
  <h4 id='method.max_by_key' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.max_by_key' class='fnname'>max_by_key</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B, B: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a></span></code></h4>
  <h4 id='method.min_by' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.min_by' class='fnname'>min_by</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where B: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a>, F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B</span></code></h4>
  <h4 id='method.min_by_key' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.min_by_key' class='fnname'>min_by_key</a>&lt;B, F&gt;(self, f: F) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt; <span class='where'>where F: <a class='trait' href='../../core/ops/trait.FnMut.html' title='core::ops::FnMut'>FnMut</a>(&amp;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>) -&gt; B, B: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a></span></code></h4>
  <h4 id='method.rev' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.rev' class='fnname'>rev</a>(self) -&gt; <a class='struct' href='../../core/iter/struct.Rev.html' title='core::iter::Rev'>Rev</a>&lt;Self&gt; <span class='where'>where Self: <a class='trait' href='../../core/iter/trait.DoubleEndedIterator.html' title='core::iter::DoubleEndedIterator'>DoubleEndedIterator</a></span></code></h4>
  <h4 id='method.unzip' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.unzip' class='fnname'>unzip</a>&lt;A, B, FromA, FromB&gt;(self) -&gt; (FromA, FromB) <span class='where'>where FromA: <a class='trait' href='../../core/default/trait.Default.html' title='core::default::Default'>Default</a> + <a class='trait' href='../../core/iter/trait.Extend.html' title='core::iter::Extend'>Extend</a>&lt;A&gt;, Self: <a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Iterator</a>&lt;Item=(A, B)&gt;, FromB: <a class='trait' href='../../core/default/trait.Default.html' title='core::default::Default'>Default</a> + <a class='trait' href='../../core/iter/trait.Extend.html' title='core::iter::Extend'>Extend</a>&lt;B&gt;</span></code></h4>
  <h4 id='method.cloned' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.cloned' class='fnname'>cloned</a>&lt;'a, T&gt;(self) -&gt; <a class='struct' href='../../core/iter/struct.Cloned.html' title='core::iter::Cloned'>Cloned</a>&lt;Self&gt; <span class='where'>where T: 'a + <a class='trait' href='../../core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a>, Self: <a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Iterator</a>&lt;Item=&amp;'a T&gt;</span></code></h4>
  <h4 id='method.cycle' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.cycle' class='fnname'>cycle</a>(self) -&gt; <a class='struct' href='../../core/iter/struct.Cycle.html' title='core::iter::Cycle'>Cycle</a>&lt;Self&gt; <span class='where'>where Self: <a class='trait' href='../../core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a></span></code></h4>
  <h4 id='method.sum' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.sum' class='fnname'>sum</a>&lt;S = Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;(self) -&gt; S <span class='where'>where S: <a class='trait' href='../../core/ops/trait.Add.html' title='core::ops::Add'>Add</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>, Output=S&gt; + <a class='trait' href='../../core/num/trait.Zero.html' title='core::num::Zero'>Zero</a></span></code></h4>
  <h4 id='method.product' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.product' class='fnname'>product</a>&lt;P = Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;(self) -&gt; P <span class='where'>where P: <a class='trait' href='../../core/ops/trait.Mul.html' title='core::ops::Mul'>Mul</a>&lt;Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>, Output=P&gt; + <a class='trait' href='../../core/num/trait.One.html' title='core::num::One'>One</a></span></code></h4>
  <h4 id='method.cmp' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.cmp' class='fnname'>cmp</a>&lt;I&gt;(self, other: I) -&gt; <a class='enum' href='../../core/cmp/enum.Ordering.html' title='core::cmp::Ordering'>Ordering</a> <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>&lt;Item=Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>&gt;, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a></span></code></h4>
  <h4 id='method.partial_cmp' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.partial_cmp' class='fnname'>partial_cmp</a>&lt;I&gt;(self, other: I) -&gt; <a class='enum' href='../../core/option/enum.Option.html' title='core::option::Option'>Option</a>&lt;<a class='enum' href='../../core/cmp/enum.Ordering.html' title='core::cmp::Ordering'>Ordering</a>&gt; <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.eq' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.eq' class='fnname'>eq</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialEq.html' title='core::cmp::PartialEq'>PartialEq</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.ne' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.ne' class='fnname'>ne</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialEq.html' title='core::cmp::PartialEq'>PartialEq</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.lt' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.lt' class='fnname'>lt</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.le' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.le' class='fnname'>le</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.gt' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.gt' class='fnname'>gt</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  <h4 id='method.ge' class='method'><code>fn <a href='../../core/iter/trait.Iterator.html#method.ge' class='fnname'>ge</a>&lt;I&gt;(self, other: I) -&gt; bool <span class='where'>where I: <a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>IntoIterator</a>, Self::<a class='trait' href='../../core/iter/trait.Iterator.html' title='core::iter::Iterator'>Item</a>: <a class='trait' href='../../core/cmp/trait.PartialOrd.html' title='core::cmp::PartialOrd'>PartialOrd</a>&lt;I::<a class='trait' href='../../core/iter/trait.IntoIterator.html' title='core::iter::IntoIterator'>Item</a>&gt;</span></code></h4>
  </div><h3 id='derived_implementations'>Derived Implementations </h3><h3 class='impl'><code>impl&lt;'a&gt; <a class='trait' href='../../core/clone/trait.Clone.html' title='core::clone::Clone'>Clone</a> for <a class='struct' href='../../collections/str/struct.Utf16Units.html' title='collections::str::Utf16Units'>Utf16Units</a>&lt;'a&gt;</code></h3><div class='impl-items'><h4 id='method.clone' class='method'><code>fn <a href='../../core/clone/trait.Clone.html#method.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class='struct' href='../../collections/str/struct.Utf16Units.html' title='collections::str::Utf16Units'>Utf16Units</a>&lt;'a&gt;</code></h4>
  <h4 id='method.clone_from' class='method'><code>fn <a href='../../core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: &amp;Self)</code></h4>
  </div></section>
      <section id='search' class="content hidden"></section>
  
      <section class="footer"></section>
  
      <aside id="help" class="hidden">
          <div>
              <h1 class="hidden">Help</h1>
  
              <div class="shortcuts">
                  <h2>Keyboard Shortcuts</h2>
  
                  <dl>
                      <dt>?</dt>
                      <dd>Show this help dialog</dd>
                      <dt>S</dt>
                      <dd>Focus the search field</dd>
                      <dt>&larrb;</dt>
                      <dd>Move up in search results</dd>
                      <dt>&rarrb;</dt>
                      <dd>Move down in search results</dd>
                      <dt>&#9166;</dt>
                      <dd>Go to active search result</dd>
                  </dl>
              </div>
  
              <div class="infos">
                  <h2>Search Tricks</h2>
  
                  <p>
                      Prefix searches with a type followed by a colon (e.g.
                      <code>fn:</code>) to restrict the search to a given type.
                  </p>
  
                  <p>
                      Accepted types are: <code>fn</code>, <code>mod</code>,
                      <code>struct</code>, <code>enum</code>,
                      <code>trait</code>, <code>type</code>, <code>macro</code>,
                      and <code>const</code>.
                  </p>
  
                  <p>
                      Search functions by type signature (e.g.
                      <code>vec -> usize</code>)
                  </p>
              </div>
          </div>
      </aside>
  
      
  
      <script>
          window.rootPath = "../../";
          window.currentCrate = "collections";
          window.playgroundUrl = "https://play.rust-lang.org/";
      </script>
      <script src="../../jquery.js"></script>
      <script src="../../main.js"></script>
      <script src="../../playpen.js"></script>
      <script defer src="../../search-index.js"></script>
  </body>
  </html>