Files
rust-gpu/api/internal_iterator/struct.Chain.html
2026-04-13 16:52:47 +00:00

72 lines
65 KiB
HTML

<!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="An iterator that links two iterators together, in a chain."><title>Chain in internal_iterator - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="internal_iterator" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (02c7f9bec 2026-04-10)" data-channel="nightly" data-search-js="search-b5634cc7.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Chain</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../internal_iterator/index.html">internal_<wbr>iterator</a><span class="version">0.2.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Chain</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Chain%3CA,+B%3E" title="Clone">Clone</a></li><li><a href="#impl-InternalIterator-for-Chain%3CA,+B%3E" title="InternalIterator">InternalIterator</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Chain%3CA,+B%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Chain%3CA,+B%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Chain%3CA,+B%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-Chain%3CA,+B%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Chain%3CA,+B%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnsafeUnpin-for-Chain%3CA,+B%3E" title="UnsafeUnpin">UnsafeUnpin</a></li><li><a href="#impl-UnwindSafe-for-Chain%3CA,+B%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoInternalIterator-for-I" title="IntoInternalIterator">IntoInternalIterator</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate internal_<wbr>iterator</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">internal_iterator</a></div><h1>Struct <span class="struct">Chain</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/internal_iterator/adaptors.rs.html#8-11">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Chain&lt;A, B&gt; { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An iterator that links two iterators together, in a chain.</p>
</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Chain%3CA,+B%3E" class="impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#7">Source</a><a href="#impl-Clone-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#7">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;</h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-InternalIterator-for-Chain%3CA,+B%3E" class="impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#13-37">Source</a><a href="#impl-InternalIterator-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>,
B: <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>&lt;Item = A::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Item" class="associatedtype trait-impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#18">Source</a><a href="#associatedtype.Item" class="anchor">§</a><h4 class="code-header">type <a href="trait.InternalIterator.html#associatedtype.Item" class="associatedtype">Item</a> = &lt;A as <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>&gt;::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a></h4></section></summary><div class='docblock'>Type of items yielded by the iterator.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_for_each" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#20-29">Source</a><a href="#method.try_for_each" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#tymethod.try_for_each" class="fn">try_for_each</a>&lt;R, C&gt;(self, consumer: C) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/ops/control_flow/enum.ControlFlow.html" title="enum core::ops::control_flow::ControlFlow">ControlFlow</a>&lt;R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/ops/control_flow/enum.ControlFlow.html" title="enum core::ops::control_flow::ControlFlow">ControlFlow</a>&lt;R&gt;,</div></h4></section></summary><div class='docblock'>Applies function each elements of the iterator. Stops early if the
function returns <code>ControlFlow::Break</code>. <a href="trait.InternalIterator.html#tymethod.try_for_each">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.last" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/adaptors.rs.html#31-36">Source</a><a href="#method.last" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.last" class="fn">last</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;</h4></section></summary><div class='docblock'>Returns the last element. <a href="trait.InternalIterator.html#method.last">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.find_map" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#181-196">Source</a><a href="#method.find_map" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.find_map" class="fn">find_map</a>&lt;R, F&gt;(self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;R&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;R&gt;,</div></h4></section></summary><div class='docblock'>Applies function to the elements of iterator and returns the first
non-none result. <a href="trait.InternalIterator.html#method.find_map">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.all" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#206-211">Source</a><a href="#method.all" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.all" class="fn">all</a>&lt;F&gt;(self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Tests if every element of the iterator matches the predicate. <a href="trait.InternalIterator.html#method.all">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.any" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#221-226">Source</a><a href="#method.any" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.any" class="fn">any</a>&lt;F&gt;(self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Tests if any element of the iterator matches the predicate. <a href="trait.InternalIterator.html#method.any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.chain" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#242-247">Source</a><a href="#method.chain" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.chain" class="fn">chain</a>&lt;U&gt;(
self,
other: U,
) -&gt; <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;Self, &lt;U as <a class="trait" href="trait.IntoInternalIterator.html" title="trait internal_iterator::IntoInternalIterator">IntoInternalIterator</a>&gt;::<a class="associatedtype" href="trait.IntoInternalIterator.html#associatedtype.IntoIter" title="type internal_iterator::IntoInternalIterator::IntoIter">IntoIter</a>&gt;<div class="where">where
U: <a class="trait" href="trait.IntoInternalIterator.html" title="trait internal_iterator::IntoInternalIterator">IntoInternalIterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;,</div></h4></section></summary><div class='docblock'>Takes two iterators and returns an iterator that first iterates over the
elements of the first iterator, and then over the second one. <a href="trait.InternalIterator.html#method.chain">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cloned" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#259-265">Source</a><a href="#method.cloned" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.cloned" class="fn">cloned</a>&lt;'a, T&gt;(self) -&gt; <a class="struct" href="struct.Cloned.html" title="struct internal_iterator::Cloned">Cloned</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a T</a>&gt;,
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'a,</div></h4></section></summary><div class='docblock'>Creates an iterator yields cloned elements of the original iterator. <a href="trait.InternalIterator.html#method.cloned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.collect" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#281-286">Source</a><a href="#method.collect" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.collect" class="fn">collect</a>&lt;B&gt;(self) -&gt; B<div class="where">where
B: <a class="trait" href="trait.FromInternalIterator.html" title="trait internal_iterator::FromInternalIterator">FromInternalIterator</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;,</div></h4></section></summary><div class='docblock'>Transforms the iterator into a collection. <a href="trait.InternalIterator.html#method.collect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.copied" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#298-304">Source</a><a href="#method.copied" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.copied" class="fn">copied</a>&lt;'a, T&gt;(self) -&gt; <a class="struct" href="struct.Copied.html" title="struct internal_iterator::Copied">Copied</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a T</a>&gt;,
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + 'a,</div></h4></section></summary><div class='docblock'>Creates an iterator yields copied elements of the original iterator. <a href="trait.InternalIterator.html#method.copied">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.count" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#314-318">Source</a><a href="#method.count" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.count" class="fn">count</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Returns the number of elements yielded by the iterator. <a href="trait.InternalIterator.html#method.count">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.enumerate" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#333-335">Source</a><a href="#method.enumerate" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.enumerate" class="fn">enumerate</a>(self) -&gt; <a class="struct" href="struct.Enumerate.html" title="struct internal_iterator::Enumerate">Enumerate</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Creates an iterator that adds the index to every value of the original
iterator. <a href="trait.InternalIterator.html#method.enumerate">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.filter" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#347-352">Source</a><a href="#method.filter" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.filter" class="fn">filter</a>&lt;P&gt;(self, predicate: P) -&gt; <a class="struct" href="struct.Filter.html" title="struct internal_iterator::Filter">Filter</a>&lt;Self, P&gt;<div class="where">where
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Creates an iterator which only yields elements matching the predicate. <a href="trait.InternalIterator.html#method.filter">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.filter_map" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#368-373">Source</a><a href="#method.filter_map" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.filter_map" class="fn">filter_map</a>&lt;T, F&gt;(self, f: F) -&gt; <a class="struct" href="struct.FilterMap.html" title="struct internal_iterator::FilterMap">FilterMap</a>&lt;Self, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>A combination of <a href="trait.InternalIterator.html#method.filter" title="method internal_iterator::InternalIterator::filter"><code>InternalIterator::filter</code></a> and
<a href="trait.InternalIterator.html#method.map" title="method internal_iterator::InternalIterator::map"><code>InternalIterator::map</code></a>. <a href="trait.InternalIterator.html#method.filter_map">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.find" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#385-396">Source</a><a href="#method.find" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.find" class="fn">find</a>&lt;F&gt;(self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Returns the first element of the iterator that matches the predicate. <a href="trait.InternalIterator.html#method.find">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.flat_map" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#418-424">Source</a><a href="#method.flat_map" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.flat_map" class="fn">flat_map</a>&lt;U, F&gt;(self, f: F) -&gt; <a class="struct" href="struct.FlatMap.html" title="struct internal_iterator::FlatMap">FlatMap</a>&lt;Self, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; U,
U: <a class="trait" href="trait.IntoInternalIterator.html" title="trait internal_iterator::IntoInternalIterator">IntoInternalIterator</a>,</div></h4></section></summary><div class='docblock'>Creates and iterator which maps over the elements and flattens the
resulting structure. <a href="trait.InternalIterator.html#method.flat_map">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fold" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#436-445">Source</a><a href="#method.fold" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.fold" class="fn">fold</a>&lt;B, F&gt;(self, init: B, f: F) -&gt; B<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(B, Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; B,</div></h4></section></summary><div class='docblock'>Folds every element into an accumulator by applying an operation, returning the final result. <a href="trait.InternalIterator.html#method.fold">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.for_each" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#448-456">Source</a><a href="#method.for_each" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.for_each" class="fn">for_each</a>&lt;F&gt;(self, f: F)<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>),</div></h4></section></summary><div class='docblock'>Run the closure on each element.</div></details><details class="toggle method-toggle" open><summary><section id="method.inspect" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#480-485">Source</a><a href="#method.inspect" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.inspect" class="fn">inspect</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="struct.Inspect.html" title="struct internal_iterator::Inspect">Inspect</a>&lt;Self, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>),</div></h4></section></summary><div class='docblock'>Run the closure on each element, while passing that element on. <a href="trait.InternalIterator.html#method.inspect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#517-522">Source</a><a href="#method.map" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.map" class="fn">map</a>&lt;F, T&gt;(self, f: F) -&gt; <a class="struct" href="struct.Map.html" title="struct internal_iterator::Map">Map</a>&lt;Self, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; T,</div></h4></section></summary><div class='docblock'>Transform each element in the iterator. <a href="trait.InternalIterator.html#method.map">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#534-539">Source</a><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.max" class="fn">max</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;<div class="where">where
Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h4></section></summary><div class='docblock'>Returns the maximum element of an iterator. <a href="trait.InternalIterator.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max_by" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#543-557">Source</a><a href="#method.max_by" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.max_by" class="fn">max_by</a>&lt;F&gt;(self, compare: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>, &amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div class='docblock'>Returns the maximum element of an iterator using a custom comparer
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.max_by_key" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#560-564">Source</a><a href="#method.max_by_key" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.max_by_key" class="fn">max_by_key</a>&lt;B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt;(
self,
key: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; B,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;</h4></section></summary><div class='docblock'>Returns the element that gives the maximum value from the specified function.</div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#576-581">Source</a><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.min" class="fn">min</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;<div class="where">where
Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h4></section></summary><div class='docblock'>Returns the minimum element of an iterator. <a href="trait.InternalIterator.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min_by" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#585-599">Source</a><a href="#method.min_by" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.min_by" class="fn">min_by</a>&lt;F&gt;(self, compare: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>, &amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>,</div></h4></section></summary><div class='docblock'>Returns the minimum element of an iterator using a custom comparer
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.min_by_key" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#602-606">Source</a><a href="#method.min_by_key" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.min_by_key" class="fn">min_by_key</a>&lt;B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt;(
self,
key: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; B,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;</h4></section></summary><div class='docblock'>Returns the element that gives the minimum value from the specified function.</div></details><details class="toggle method-toggle" open><summary><section id="method.next" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#619-621">Source</a><a href="#method.next" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.next" class="fn">next</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;</h4></section></summary><div class='docblock'>Returns the first element of the iterator. <a href="trait.InternalIterator.html#method.next">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.nth" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#630-639">Source</a><a href="#method.nth" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.nth" class="fn">nth</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>&gt;</h4></section></summary><div class='docblock'>Returns the <code>n</code>th element of the iterator. <a href="trait.InternalIterator.html#method.nth">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.position" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#651-662">Source</a><a href="#method.position" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.position" class="fn">position</a>&lt;F&gt;(self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Returns the index of the first element matching the predicate. <a href="trait.InternalIterator.html#method.position">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.skip" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#678-680">Source</a><a href="#method.skip" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.skip" class="fn">skip</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="struct.Skip.html" title="struct internal_iterator::Skip">Skip</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Skip first <code>n</code> elements of the iterator. <a href="trait.InternalIterator.html#method.skip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.take" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#698-700">Source</a><a href="#method.take" class="anchor">§</a><h4 class="code-header">fn <a href="trait.InternalIterator.html#method.take" class="fn">take</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="struct.Take.html" title="struct internal_iterator::Take">Take</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Take first <code>n</code> elements of the iterator, disregarding the rest. <a href="trait.InternalIterator.html#method.take">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-Freeze-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-Send-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-Sync-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-Unpin-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnsafeUnpin-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-UnsafeUnpin-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Chain%3CA,+B%3E" class="impl"><a href="#impl-UnwindSafe-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Chain.html" title="struct internal_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#142">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoInternalIterator-for-I" class="impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#724-735">Source</a><a href="#impl-IntoInternalIterator-for-I" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.IntoInternalIterator.html" title="trait internal_iterator::IntoInternalIterator">IntoInternalIterator</a> for I<div class="where">where
I: <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Item-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#728">Source</a><a href="#associatedtype.Item-1" class="anchor">§</a><h4 class="code-header">type <a href="trait.IntoInternalIterator.html#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.InternalIterator.html" title="trait internal_iterator::InternalIterator">InternalIterator</a>&gt;::<a class="associatedtype" href="trait.InternalIterator.html#associatedtype.Item" title="type internal_iterator::InternalIterator::Item">Item</a></h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="toggle" open><summary><section id="associatedtype.IntoIter" class="associatedtype trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#730">Source</a><a href="#associatedtype.IntoIter" class="anchor">§</a><h4 class="code-header">type <a href="trait.IntoInternalIterator.html#associatedtype.IntoIter" class="associatedtype">IntoIter</a> = I</h4></section></summary><div class='docblock'>Concrete iterator type returned by the conversion.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_internal_iter" class="method trait-impl"><a class="src rightside" href="../src/internal_iterator/lib.rs.html#732-734">Source</a><a href="#method.into_internal_iter" class="anchor">§</a><h4 class="code-header">fn <a href="trait.IntoInternalIterator.html#tymethod.into_internal_iter" class="fn">into_internal_iter</a>(self) -&gt; &lt;I as <a class="trait" href="trait.IntoInternalIterator.html" title="trait internal_iterator::IntoInternalIterator">IntoInternalIterator</a>&gt;::<a class="associatedtype" href="trait.IntoInternalIterator.html#associatedtype.IntoIter" title="type internal_iterator::IntoInternalIterator::IntoIter">IntoIter</a></h4></section></summary><div class='docblock'>Convert this type to an internal iterator.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#72-74">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#76">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#77">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>