difftastic/rustdoc/tree_sitter/trait.StreamingIterator.html

222 lines
100 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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 interface for dealing with streaming iterators."><title>StreamingIterator in tree_sitter - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="tree_sitter" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../tree_sitter/index.html">tree_sitter</a><span class="version">0.25.10</span></h2></div><h2 class="location"><a href="#">StreamingIterator</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Item">Item</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.advance">advance</a></li><li><a href="#tymethod.get">get</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.all">all</a></li><li><a href="#method.any">any</a></li><li><a href="#method.by_ref">by_ref</a></li><li><a href="#method.chain">chain</a></li><li><a href="#method.cloned">cloned</a></li><li><a href="#method.copied">copied</a></li><li><a href="#method.count">count</a></li><li><a href="#method.filter">filter</a></li><li><a href="#method.filter_map">filter_map</a></li><li><a href="#method.filter_map_deref">filter_map_deref</a></li><li><a href="#method.find">find</a></li><li><a href="#method.flat_map">flat_map</a></li><li><a href="#method.fold">fold</a></li><li><a href="#method.for_each">for_each</a></li><li><a href="#method.fuse">fuse</a></li><li><a href="#method.inspect">inspect</a></li><li><a href="#method.is_done">is_done</a></li><li><a href="#method.map">map</a></li><li><a href="#method.map_deref">map_deref</a></li><li><a href="#method.map_ref">map_ref</a></li><li><a href="#method.next">next</a></li><li><a href="#method.nth">nth</a></li><li><a href="#method.position">position</a></li><li><a href="#method.rev">rev</a></li><li><a href="#method.size_hint">size_hint</a></li><li><a href="#method.skip">skip</a></li><li><a href="#method.skip_while">skip_while</a></li><li><a href="#method.take">take</a></li><li><a href="#method.take_while">take_while</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-StreamingIterator-for-%26mut+I">&amp;&#x27;a mut I</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In crate tree_sitter</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../tree_sitter/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="index.html">tree_sitter</a>::<wbr><a class="trait" href="#">StreamingIterator</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/streaming_iterator/lib.rs.html#67">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait StreamingIterator {
type <a href="#associatedtype.Item" class="associatedtype">Item</a>: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>;
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 31 methods</span></summary> // Required methods
fn <a href="#tymethod.advance" class="fn">advance</a>(&amp;mut self);
<span class="item-spacer"></span> fn <a href="#tymethod.get" class="fn">get</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;;
// Provided methods
fn <a href="#method.next" class="fn">next</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.size_hint" class="fn">size_hint</a>(&amp;self) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;) { ... }
<span class="item-spacer"></span> fn <a href="#method.is_done" class="fn">is_done</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.all" class="fn">all</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.any" class="fn">any</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.by_ref" class="fn">by_ref</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut Self</a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.chain" class="fn">chain</a>&lt;I&gt;(self, other: I) -&gt; <a class="struct" href="../streaming_iterator/struct.Chain.html" title="struct streaming_iterator::Chain">Chain</a>&lt;Self, I&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.cloned" class="fn">cloned</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Cloned.html" title="struct streaming_iterator::Cloned">Cloned</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.copied" class="fn">copied</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Copied.html" title="struct streaming_iterator::Copied">Copied</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.count" class="fn">count</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.filter" class="fn">filter</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Filter.html" title="struct streaming_iterator::Filter">Filter</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.filter_map" class="fn">filter_map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FilterMap.html" title="struct streaming_iterator::FilterMap">FilterMap</a>&lt;Self, B, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;B&gt;</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.flat_map" class="fn">flat_map</a>&lt;J, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FlatMap.html" title="struct streaming_iterator::FlatMap">FlatMap</a>&lt;Self, J, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
J: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; J</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.filter_map_deref" class="fn">filter_map_deref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FilterMapDeref.html" title="struct streaming_iterator::FilterMapDeref">FilterMapDeref</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;B&gt;</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.find" class="fn">find</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.fuse" class="fn">fuse</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Fuse.html" title="struct streaming_iterator::Fuse">Fuse</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.inspect" class="fn">inspect</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Inspect.html" title="struct streaming_iterator::Inspect">Inspect</a>&lt;Self, F&gt;
<span class="where">where F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>),
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.map" class="fn">map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Map.html" title="struct streaming_iterator::Map">Map</a>&lt;Self, B, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.map_deref" class="fn">map_deref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.MapDeref.html" title="struct streaming_iterator::MapDeref">MapDeref</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.map_ref" class="fn">map_ref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.MapRef.html" title="struct streaming_iterator::MapRef">MapRef</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;B</a>,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.nth" class="fn">nth</a>(&amp;mut self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.position" class="fn">position</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.skip" class="fn">skip</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="../streaming_iterator/struct.Skip.html" title="struct streaming_iterator::Skip">Skip</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.skip_while" class="fn">skip_while</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.SkipWhile.html" title="struct streaming_iterator::SkipWhile">SkipWhile</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.take" class="fn">take</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="../streaming_iterator/struct.Take.html" title="struct streaming_iterator::Take">Take</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.take_while" class="fn">take_while</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.TakeWhile.html" title="struct streaming_iterator::TakeWhile">TakeWhile</a>&lt;Self, F&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.rev" class="fn">rev</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Rev.html" title="struct streaming_iterator::Rev">Rev</a>&lt;Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../streaming_iterator/trait.DoubleEndedStreamingIterator.html" title="trait streaming_iterator::DoubleEndedStreamingIterator">DoubleEndedStreamingIterator</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.fold" class="fn">fold</a>&lt;B, F&gt;(self, init: B, f: F) -&gt; B
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(B, &amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.for_each" class="fn">for_each</a>&lt;F&gt;(self, f: F)
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>)</span> { ... }
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An interface for dealing with streaming iterators.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Item" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#69">source</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a>: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></h4></section></summary><div class="docblock"><p>The type of the elements being iterated over.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.advance" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#77">source</a><h4 class="code-header">fn <a href="#tymethod.advance" class="fn">advance</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Advances the iterator to the next element.</p>
<p>Iterators start just before the first element, so this should be called before <code>get</code>.</p>
<p>The behavior of calling this method after the end of the iterator has been reached is
unspecified.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.get" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#82">source</a><h4 class="code-header">fn <a href="#tymethod.get" class="fn">get</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</h4></section></summary><div class="docblock"><p>Returns a reference to the current element of the iterator.</p>
<p>The behavior of calling this method before <code>advance</code> has been called is unspecified.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.next" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#91">source</a><h4 class="code-header">fn <a href="#method.next" class="fn">next</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</h4></section></summary><div class="docblock"><p>Advances the iterator and returns the next value.</p>
<p>The behavior of calling this method after the end of the iterator has been reached is
unspecified.</p>
<p>The default implementation simply calls <code>advance</code> followed by <code>get</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#98">source</a><h4 class="code-header">fn <a href="#method.size_hint" class="fn">size_hint</a>(&amp;self) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)</h4></section></summary><div class="docblock"><p>Returns the bounds on the remaining length of the iterator.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_done" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#103">source</a><h4 class="code-header">fn <a href="#method.is_done" class="fn">is_done</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks if <code>get()</code> will return <code>None</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.all" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#109-112">source</a><h4 class="code-header">fn <a href="#method.all" class="fn">all</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a><div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Determines if all elements of the iterator satisfy a predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.any" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#125-128">source</a><h4 class="code-header">fn <a href="#method.any" class="fn">any</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a><div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Determines if any elements of the iterator satisfy a predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.by_ref" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#138-140">source</a><h4 class="code-header">fn <a href="#method.by_ref" class="fn">by_ref</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;mut Self</a><div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Borrows an iterator, rather than consuming it.</p>
<p>This is useful to allow the application of iterator adaptors while still retaining ownership
of the original adaptor.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.chain" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#147-150">source</a><h4 class="code-header">fn <a href="#method.chain" class="fn">chain</a>&lt;I&gt;(self, other: I) -&gt; <a class="struct" href="../streaming_iterator/struct.Chain.html" title="struct streaming_iterator::Chain">Chain</a>&lt;Self, I&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&lt;Item = Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;,</div></h4></section></summary><div class="docblock"><p>Consumes two iterators and returns a new iterator that iterates over both in sequence.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cloned" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#161-164">source</a><h4 class="code-header">fn <a href="#method.cloned" class="fn">cloned</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Cloned.html" title="struct streaming_iterator::Cloned">Cloned</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h4></section></summary><div class="docblock"><p>Produces a normal, non-streaming, iterator by cloning the elements of this iterator.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.copied" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#171-174">source</a><h4 class="code-header">fn <a href="#method.copied" class="fn">copied</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Copied.html" title="struct streaming_iterator::Copied">Copied</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,</div></h4></section></summary><div class="docblock"><p>Produces a normal, non-streaming, iterator by copying the elements of this iterator.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.count" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#181-183">source</a><h4 class="code-header">fn <a href="#method.count" class="fn">count</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a><div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Consumes the iterator, counting the number of remaining elements and returning it.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.filter" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#190-193">source</a><h4 class="code-header">fn <a href="#method.filter" class="fn">filter</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Filter.html" title="struct streaming_iterator::Filter">Filter</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which uses a closure to determine if an element should be yielded.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.filter_map" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#200-203">source</a><h4 class="code-header">fn <a href="#method.filter_map" class="fn">filter_map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FilterMap.html" title="struct streaming_iterator::FilterMap">FilterMap</a>&lt;Self, B, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which both filters and maps by applying a closure to elements.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.flat_map" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#215-219">source</a><h4 class="code-header">fn <a href="#method.flat_map" class="fn">flat_map</a>&lt;J, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FlatMap.html" title="struct streaming_iterator::FlatMap">FlatMap</a>&lt;Self, J, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
J: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; J,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which flattens iterators obtained by applying a closure to elements.
Note that the returned iterators must be streaming iterators.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.filter_map_deref" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#230-233">source</a><h4 class="code-header">fn <a href="#method.filter_map_deref" class="fn">filter_map_deref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.FilterMapDeref.html" title="struct streaming_iterator::FilterMapDeref">FilterMapDeref</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;B&gt;,</div></h4></section></summary><div class="docblock"><p>Creates a regular, non-streaming iterator which both filters and maps by applying a closure to elements.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.find" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#240-243">source</a><h4 class="code-header">fn <a href="#method.find" class="fn">find</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Returns the first element of the iterator that satisfies the predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.fuse" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#266-268">source</a><h4 class="code-header">fn <a href="#method.fuse" class="fn">fuse</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Fuse.html" title="struct streaming_iterator::Fuse">Fuse</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which is “well behaved” at the beginning and end of iteration.</p>
<p>The behavior of calling <code>get</code> before iteration has been started, and of continuing to call
<code>advance</code> after <code>get</code> has returned <code>None</code> is normally unspecified, but this guarantees that
<code>get</code> will return <code>None</code> in both cases.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.inspect" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#280-283">source</a><h4 class="code-header">fn <a href="#method.inspect" class="fn">inspect</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Inspect.html" title="struct streaming_iterator::Inspect">Inspect</a>&lt;Self, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>),
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Call a closure on each element, passing the element on.
The closure is called upon calls to <code>advance</code> or <code>advance_back</code>, and exactly once per element
regardless of how many times (if any) <code>get</code> is called.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.map" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#290-293">source</a><h4 class="code-header">fn <a href="#method.map" class="fn">map</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.Map.html" title="struct streaming_iterator::Map">Map</a>&lt;Self, B, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which transforms elements of this iterator by passing them to a closure.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.map_deref" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#304-307">source</a><h4 class="code-header">fn <a href="#method.map_deref" class="fn">map_deref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.MapDeref.html" title="struct streaming_iterator::MapDeref">MapDeref</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B,</div></h4></section></summary><div class="docblock"><p>Creates a regular, non-streaming iterator which transforms elements of this iterator by passing them to a closure.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.map_ref" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#320-323">source</a><h4 class="code-header">fn <a href="#method.map_ref" class="fn">map_ref</a>&lt;B, F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.MapRef.html" title="struct streaming_iterator::MapRef">MapRef</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;B</a>,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which transforms elements of this iterator by passing them to a closure.</p>
<p>Unlike <code>map</code>, this method takes a closure that returns a reference into the original value.</p>
<p>The mapping function is only guaranteed to be called at some point before an element
is actually consumed. This allows an expensive mapping function to be ignored
during skipping (e.g. <code>nth</code>).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.nth" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#330">source</a><h4 class="code-header">fn <a href="#method.nth" class="fn">nth</a>(&amp;mut self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</h4></section></summary><div class="docblock"><p>Consumes the first <code>n</code> elements of the iterator, returning the next one.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.position" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#356-359">source</a><h4 class="code-header">fn <a href="#method.position" class="fn">position</a>&lt;F&gt;(&amp;mut self, f: F) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Returns the index of the first element of the iterator matching a predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.skip" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#375-377">source</a><h4 class="code-header">fn <a href="#method.skip" class="fn">skip</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="../streaming_iterator/struct.Skip.html" title="struct streaming_iterator::Skip">Skip</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which skips the first <code>n</code> elements.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.skip_while" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#384-387">source</a><h4 class="code-header">fn <a href="#method.skip_while" class="fn">skip_while</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.SkipWhile.html" title="struct streaming_iterator::SkipWhile">SkipWhile</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator that skips initial elements matching a predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.take" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#398-400">source</a><h4 class="code-header">fn <a href="#method.take" class="fn">take</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>) -&gt; <a class="struct" href="../streaming_iterator/struct.Take.html" title="struct streaming_iterator::Take">Take</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which only returns the first <code>n</code> elements.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.take_while" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#411-414">source</a><h4 class="code-header">fn <a href="#method.take_while" class="fn">take_while</a>&lt;F&gt;(self, f: F) -&gt; <a class="struct" href="../streaming_iterator/struct.TakeWhile.html" title="struct streaming_iterator::TakeWhile">TakeWhile</a>&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which only returns initial elements matching a predicate.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.rev" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#425-427">source</a><h4 class="code-header">fn <a href="#method.rev" class="fn">rev</a>(self) -&gt; <a class="struct" href="../streaming_iterator/struct.Rev.html" title="struct streaming_iterator::Rev">Rev</a>&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../streaming_iterator/trait.DoubleEndedStreamingIterator.html" title="trait streaming_iterator::DoubleEndedStreamingIterator">DoubleEndedStreamingIterator</a>,</div></h4></section></summary><div class="docblock"><p>Creates an iterator which returns elemens in the opposite order.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.fold" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#434-437">source</a><h4 class="code-header">fn <a href="#method.fold" class="fn">fold</a>&lt;B, F&gt;(self, init: B, f: F) -&gt; B<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(B, &amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B,</div></h4></section></summary><div class="docblock"><p>Reduces the iterators elements to a single, final value.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.for_each" class="method"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#448-451">source</a><h4 class="code-header">fn <a href="#method.for_each" class="fn">for_each</a>&lt;F&gt;(self, f: F)<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;Self::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>),</div></h4></section></summary><div class="docblock"><p>Calls a closure on each element of an iterator.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-%26mut+I" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#457-459">source</a><a href="#impl-StreamingIterator-for-%26mut+I" class="anchor">§</a><h3 class="code-header">impl&lt;'a, I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'a mut I</a><div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-1" class="associatedtype trait-impl"><a href="#associatedtype.Item-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section><section id="method.advance" class="method trait-impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#464">source</a><a href="#method.advance" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.advance" class="fn">advance</a>(&amp;mut self)</h4></section><section id="method.is_done-1" class="method trait-impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#469">source</a><a href="#method.is_done-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.is_done" class="fn">is_done</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section><section id="method.get" class="method trait-impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#474">source</a><a href="#method.get" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get" class="fn">get</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'a mut I</a> as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</h4></section><section id="method.size_hint-1" class="method trait-impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#479">source</a><a href="#method.size_hint-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.size_hint" class="fn">size_hint</a>(&amp;self) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)</h4></section><section id="method.next-1" class="method trait-impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#484">source</a><a href="#method.next-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.next" class="fn">next</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'a mut I</a> as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-ConvertMut%3C'a,+I,+T%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#375-377">source</a><a href="#impl-StreamingIterator-for-ConvertMut%3C'a,+I,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, I, T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.ConvertMut.html" title="struct streaming_iterator::sources::ConvertMut">ConvertMut</a>&lt;'a, I, T&gt;<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'a mut T</a>&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-2" class="associatedtype trait-impl"><a href="#associatedtype.Item-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-ConvertRef%3C'a,+I,+T%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#310-312">source</a><a href="#impl-StreamingIterator-for-ConvertRef%3C'a,+I,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, I, T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.ConvertRef.html" title="struct streaming_iterator::sources::ConvertRef">ConvertRef</a>&lt;'a, I, T&gt;<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'a T</a>&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-3" class="associatedtype trait-impl"><a href="#associatedtype.Item-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-QueryCaptures%3C'query,+'tree,+T,+I%3E" class="impl"><a class="src rightside" href="../src/tree_sitter/lib.rs.html#3478-3513">source</a><a href="#impl-StreamingIterator-for-QueryCaptures%3C'query,+'tree,+T,+I%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'query, 'tree: 'query, T: <a class="trait" href="trait.TextProvider.html" title="trait tree_sitter::TextProvider">TextProvider</a>&lt;I&gt;, I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]&gt;&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="struct.QueryCaptures.html" title="struct tree_sitter::QueryCaptures">QueryCaptures</a>&lt;'query, 'tree, T, I&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Item-4" class="associatedtype trait-impl"><a href="#associatedtype.Item-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = (<a class="struct" href="struct.QueryMatch.html" title="struct tree_sitter::QueryMatch">QueryMatch</a>&lt;'query, 'tree&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-QueryMatches%3C'query,+'tree,+T,+I%3E" class="impl"><a class="src rightside" href="../src/tree_sitter/lib.rs.html#3439-3468">source</a><a href="#impl-StreamingIterator-for-QueryMatches%3C'query,+'tree,+T,+I%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'query, 'tree: 'query, T: <a class="trait" href="trait.TextProvider.html" title="trait tree_sitter::TextProvider">TextProvider</a>&lt;I&gt;, I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]&gt;&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="struct.QueryMatches.html" title="struct tree_sitter::QueryMatches">QueryMatches</a>&lt;'query, 'tree, T, I&gt;</h3></section></summary><div class="docblock"><p>Provide a <code>StreamingIterator</code> instead of the traditional <code>Iterator</code>, as the
underlying object in the C library gets updated on each iteration. Copies would
have their internal state overwritten, leading to Undefined Behavior</p>
</div><div class="impl-items"><section id="associatedtype.Item-5" class="associatedtype trait-impl"><a href="#associatedtype.Item-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = <a class="struct" href="struct.QueryMatch.html" title="struct tree_sitter::QueryMatch">QueryMatch</a>&lt;'query, 'tree&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Chain%3CA,+B%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#713-716">source</a><a href="#impl-StreamingIterator-for-Chain%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Chain.html" title="struct streaming_iterator::Chain">Chain</a>&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
B: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&lt;Item = &lt;A as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-6" class="associatedtype trait-impl"><a href="#associatedtype.Item-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;A as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Convert%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#212-214">source</a><a href="#impl-StreamingIterator-for-Convert%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.Convert.html" title="struct streaming_iterator::sources::Convert">Convert</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-7" class="associatedtype trait-impl"><a href="#associatedtype.Item-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Flatten%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1362-1365">source</a><a href="#impl-StreamingIterator-for-Flatten%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Flatten.html" title="struct streaming_iterator::Flatten">Flatten</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIteratorMut.html" title="trait tree_sitter::StreamingIteratorMut">StreamingIteratorMut</a>,
&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-8" class="associatedtype trait-impl"><a href="#associatedtype.Item-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a> as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Fuse%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1512-1514">source</a><a href="#impl-StreamingIterator-for-Fuse%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Fuse.html" title="struct streaming_iterator::Fuse">Fuse</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-9" class="associatedtype trait-impl"><a href="#associatedtype.Item-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Rev%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#2372-2374">source</a><a href="#impl-StreamingIterator-for-Rev%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Rev.html" title="struct streaming_iterator::Rev">Rev</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="../streaming_iterator/trait.DoubleEndedStreamingIterator.html" title="trait streaming_iterator::DoubleEndedStreamingIterator">DoubleEndedStreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-10" class="associatedtype trait-impl"><a href="#associatedtype.Item-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Skip%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#2070-2072">source</a><a href="#impl-StreamingIterator-for-Skip%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Skip.html" title="struct streaming_iterator::Skip">Skip</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-11" class="associatedtype trait-impl"><a href="#associatedtype.Item-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Take%3CI%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#2232-2234">source</a><a href="#impl-StreamingIterator-for-Take%3CI%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Take.html" title="struct streaming_iterator::Take">Take</a>&lt;I&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-12" class="associatedtype trait-impl"><a href="#associatedtype.Item-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-FilterMap%3CI,+B,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1137-1140">source</a><a href="#impl-StreamingIterator-for-FilterMap%3CI,+B,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, B, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.FilterMap.html" title="struct streaming_iterator::FilterMap">FilterMap</a>&lt;I, B, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;B&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-13" class="associatedtype trait-impl"><a href="#associatedtype.Item-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = B</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Map%3CI,+B,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1752-1755">source</a><a href="#impl-StreamingIterator-for-Map%3CI,+B,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, B, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Map.html" title="struct streaming_iterator::Map">Map</a>&lt;I, B, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; B,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-14" class="associatedtype trait-impl"><a href="#associatedtype.Item-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = B</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-MapRef%3CI,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1963-1966">source</a><a href="#impl-StreamingIterator-for-MapRef%3CI,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, B, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.MapRef.html" title="struct streaming_iterator::MapRef">MapRef</a>&lt;I, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;B</a>,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-15" class="associatedtype trait-impl"><a href="#associatedtype.Item-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = B</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Filter%3CI,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#989-992">source</a><a href="#impl-StreamingIterator-for-Filter%3CI,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Filter.html" title="struct streaming_iterator::Filter">Filter</a>&lt;I, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-16" class="associatedtype trait-impl"><a href="#associatedtype.Item-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Inspect%3CI,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1637-1640">source</a><a href="#impl-StreamingIterator-for-Inspect%3CI,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.Inspect.html" title="struct streaming_iterator::Inspect">Inspect</a>&lt;I, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>),</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-17" class="associatedtype trait-impl"><a href="#associatedtype.Item-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-SkipWhile%3CI,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#2149-2152">source</a><a href="#impl-StreamingIterator-for-SkipWhile%3CI,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.SkipWhile.html" title="struct streaming_iterator::SkipWhile">SkipWhile</a>&lt;I, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-18" class="associatedtype trait-impl"><a href="#associatedtype.Item-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-TakeWhile%3CI,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#2291-2294">source</a><a href="#impl-StreamingIterator-for-TakeWhile%3CI,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.TakeWhile.html" title="struct streaming_iterator::TakeWhile">TakeWhile</a>&lt;I, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-19" class="associatedtype trait-impl"><a href="#associatedtype.Item-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-FlatMap%3CI,+J,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/lib.rs.html#1275-1279">source</a><a href="#impl-StreamingIterator-for-FlatMap%3CI,+J,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;I, J, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/struct.FlatMap.html" title="struct streaming_iterator::FlatMap">FlatMap</a>&lt;I, J, F&gt;<div class="where">where
I: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;&lt;I as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a>) -&gt; J,
J: <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-20" class="associatedtype trait-impl"><a href="#associatedtype.Item-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = &lt;J as <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a>&gt;::<a class="associatedtype" href="trait.StreamingIterator.html#associatedtype.Item" title="type tree_sitter::StreamingIterator::Item">Item</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-WindowsMut%3C'_,+T%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/slice.rs.html#86">source</a><a href="#impl-StreamingIterator-for-WindowsMut%3C'_,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/slice/struct.WindowsMut.html" title="struct streaming_iterator::slice::WindowsMut">WindowsMut</a>&lt;'_, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Item-21" class="associatedtype trait-impl"><a href="#associatedtype.Item-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.slice.html">[T]</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Empty%3CT%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#475">source</a><a href="#impl-StreamingIterator-for-Empty%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.Empty.html" title="struct streaming_iterator::sources::Empty">Empty</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Item-22" class="associatedtype trait-impl"><a href="#associatedtype.Item-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Once%3CT%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#541">source</a><a href="#impl-StreamingIterator-for-Once%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.Once.html" title="struct streaming_iterator::sources::Once">Once</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Item-23" class="associatedtype trait-impl"><a href="#associatedtype.Item-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Repeat%3CT%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#633">source</a><a href="#impl-StreamingIterator-for-Repeat%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.Repeat.html" title="struct streaming_iterator::sources::Repeat">Repeat</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Item-24" class="associatedtype trait-impl"><a href="#associatedtype.Item-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-FromFn%3CT,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#513">source</a><a href="#impl-StreamingIterator-for-FromFn%3CT,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.FromFn.html" title="struct streaming_iterator::sources::FromFn">FromFn</a>&lt;T, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-25" class="associatedtype trait-impl"><a href="#associatedtype.Item-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-OnceWith%3CT,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#588">source</a><a href="#impl-StreamingIterator-for-OnceWith%3CT,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.OnceWith.html" title="struct streaming_iterator::sources::OnceWith">OnceWith</a>&lt;T, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>() -&gt; T,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-26" class="associatedtype trait-impl"><a href="#associatedtype.Item-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-RepeatWith%3CT,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#671">source</a><a href="#impl-StreamingIterator-for-RepeatWith%3CT,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.RepeatWith.html" title="struct streaming_iterator::sources::RepeatWith">RepeatWith</a>&lt;T, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>() -&gt; T,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-27" class="associatedtype trait-impl"><a href="#associatedtype.Item-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-StreamingIterator-for-Successors%3CT,+F%3E" class="impl"><a class="src rightside" href="../src/streaming_iterator/sources.rs.html#708">source</a><a href="#impl-StreamingIterator-for-Successors%3CT,+F%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, F&gt; <a class="trait" href="trait.StreamingIterator.html" title="trait tree_sitter::StreamingIterator">StreamingIterator</a> for <a class="struct" href="../streaming_iterator/sources/struct.Successors.html" title="struct streaming_iterator::sources::Successors">Successors</a>&lt;T, F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(T) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Item-28" class="associatedtype trait-impl"><a href="#associatedtype.Item-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Item" class="associatedtype">Item</a> = T</h4></section></div></details></div><script src="../trait.impl/streaming_iterator/trait.StreamingIterator.js" data-ignore-extern-crates="streaming_iterator" async></script></section></div></main></body></html>