mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-26 13:10:41 +00:00
45 lines
95 KiB
HTML
45 lines
95 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Map` struct in crate `combine`."><meta name="keywords" content="rust, rustlang, rust-lang, Map"><title>combine::parser::combinator::Map - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../../combine/index.html'><img src='../../../rust-logo.png' alt='logo' width='100'></a><p class='location'>Struct Map</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Parser">Parser</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow">Borrow</a><a href="#impl-BorrowMut">BorrowMut</a><a href="#impl-From">From</a><a href="#impl-Into">Into</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom">TryFrom</a><a href="#impl-TryInto">TryInto</a></div></div><p class='location'><a href='../../index.html'>combine</a>::<wbr><a href='../index.html'>parser</a>::<wbr><a href='index.html'>combinator</a></p><script>window.sidebarCurrent = {name: 'Map', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#249-251' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../../index.html'>combine</a>::<wbr><a href='../index.html'>parser</a>::<wbr><a href='index.html'>combinator</a>::<wbr><a class="struct" href=''>Map</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct Map<P, F>(_, _)<br> <span class="where">where<br> P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a></span>;</pre></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Parser' class='impl'><code class='in-band'>impl<I, A, B, P, F> <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a> for <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F> <span class="where fmt-newline">where<br> I: <a class="trait" href="../../../combine/trait.Stream.html" title="trait combine::Stream">Stream</a>,<br> P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = I, Output = A>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(A) -> B, </span></code><a href='#impl-Parser' class='anchor'></a><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#252-282' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Input' class="type"><code id='Input.t'>type <a href='../../../combine/trait.Parser.html#associatedtype.Input' class="type">Input</a> = I</code></h4><div class='docblock'><p>The type which is taken as input for the parser. The type must implement the <code>Stream</code> trait which allows the parser to read items from the type. <a href="../../../combine/trait.Parser.html#associatedtype.Input">Read more</a></p>
|
||
</div><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='../../../combine/trait.Parser.html#associatedtype.Output' class="type">Output</a> = B</code></h4><div class='docblock'><p>The type which is returned if the parser is successful.</p>
|
||
</div><h4 id='associatedtype.PartialState' class="type"><code id='PartialState.t'>type <a href='../../../combine/trait.Parser.html#associatedtype.PartialState' class="type">PartialState</a> = P::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a></code></h4><div class='docblock'><p>Determines the state necessary to resume parsing after more input is supplied. <a href="../../../combine/trait.Parser.html#associatedtype.PartialState">Read more</a></p>
|
||
</div><h4 id='method.parse_partial' class="method hidden"><code id='parse_partial.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_partial' class='fnname'>parse_partial</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> state: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#44-50' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Parses using the stream <code>input</code> and allows itself to be resumed at a later point using <code>parse_partial</code> by storing the necessary intermediate state in <code>state</code> <a href="../../../combine/trait.Parser.html#method.parse_partial">Read more</a></p>
|
||
</div><h4 id='method.parse_first' class="method hidden"><code id='parse_first.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_first' class='fnname'>parse_first</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> state: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#53-59' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Parses using the stream <code>input</code> and allows itself to be resumed at a later point using <code>parse_partial</code> by storing the necessary intermediate state in <code>state</code>. <a href="../../../combine/trait.Parser.html#method.parse_first">Read more</a></p>
|
||
</div><h4 id='method.parse_mode_impl' class="method hidden"><code id='parse_mode_impl.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_mode_impl' class='fnname'>parse_mode_impl</a><M>(<br> &mut self, <br> mode: M, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> state: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>> <span class="where fmt-newline">where<br> M: ParseMode, </span></code><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#264-279' title='goto source code'>[src]</a></h4><h4 id='method.add_error' class="method hidden"><code id='add_error.v'>fn <a href='../../../combine/trait.Parser.html#method.add_error' class='fnname'>add_error</a>(&mut self, error: &mut <a class="struct" href="../../../combine/error/struct.Tracked.html" title="struct combine::error::Tracked">Tracked</a><<Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a>>)</code><a class='srclink' href='../../../src/combine/lib.rs.html#726-728' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Adds the first error that would normally be returned by this parser if it failed with an <code>EmptyErr</code> result. <a href="../../../combine/trait.Parser.html#method.add_error">Read more</a></p>
|
||
</div><h4 id='method.add_consumed_expected_error' class="method hidden"><code id='add_consumed_expected_error.v'>fn <a href='../../../combine/trait.Parser.html#method.add_consumed_expected_error' class='fnname'>add_consumed_expected_error</a>(<br> &mut self, <br> error: &mut <a class="struct" href="../../../combine/error/struct.Tracked.html" title="struct combine::error::Tracked">Tracked</a><<Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a>><br>)</code><a class='srclink' href='../../../src/combine/lib.rs.html#731-733' title='goto source code'>[src]</a></h4><h4 id='method.parser_count' class="method hidden"><code id='parser_count.v'>fn <a href='../../../combine/trait.Parser.html#method.parser_count' class='fnname'>parser_count</a>(&self) -> ErrorOffset</code><a class='srclink' href='../../../src/combine/lib.rs.html#736-738' title='goto source code'>[src]</a></h4><h4 id='method.easy_parse' class="method"><code id='easy_parse.v'>fn <a href='../../../combine/trait.Parser.html#method.easy_parse' class='fnname'>easy_parse</a><I>(<br> &mut self, <br> input: I<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, I<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <a class="type" href="../../../combine/stream/easy/type.ParseError.html" title="type combine::stream::easy::ParseError">ParseError</a><I>> <span class="where fmt-newline">where<br> I: <a class="trait" href="../../../combine/trait.Stream.html" title="trait combine::Stream">Stream</a>,<br> <a class="struct" href="../../../combine/stream/easy/struct.Stream.html" title="struct combine::stream::easy::Stream">Stream</a><I>: <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a><Item = I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Item" title="type combine::StreamOnce::Item">Item</a>, Range = I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Range" title="type combine::StreamOnce::Range">Range</a>, Error = <a class="type" href="../../../combine/stream/easy/type.ParseError.html" title="type combine::stream::easy::ParseError">ParseError</a><<a class="struct" href="../../../combine/stream/easy/struct.Stream.html" title="struct combine::stream::easy::Stream">Stream</a><I>>, Position = I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Position" title="type combine::StreamOnce::Position">Position</a>>,<br> I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Position" title="type combine::StreamOnce::Position">Position</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = <a class="struct" href="../../../combine/stream/easy/struct.Stream.html" title="struct combine::stream::easy::Stream">Stream</a><I>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#142-156' title='goto source code'>[src]</a></h4><div class='docblock'><p>Entry point of the parser. Takes some input and tries to parse it, returning an easy to use and format error if parsing did not succeed. <a href="../../../combine/trait.Parser.html#method.easy_parse">Read more</a></p>
|
||
</div><h4 id='method.parse' class="method"><code id='parse.v'>fn <a href='../../../combine/trait.Parser.html#method.parse' class='fnname'>parse</a>(<br> &mut self, <br> input: Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#170-178' title='goto source code'>[src]</a></h4><div class='docblock'><p>Entry point of the parser. Takes some input and tries to parse it. <a href="../../../combine/trait.Parser.html#method.parse">Read more</a></p>
|
||
</div><h4 id='method.parse_with_state' class="method"><code id='parse_with_state.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_with_state' class='fnname'>parse_with_state</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> state: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, <Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#185-194' title='goto source code'>[src]</a></h4><div class='docblock'><p>Entry point of the parser when using partial parsing. Takes some input and tries to parse it. <a href="../../../combine/trait.Parser.html#method.parse_with_state">Read more</a></p>
|
||
</div><h4 id='method.parse_stream' class="method"><code id='parse_stream.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_stream' class='fnname'>parse_stream</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><br>) -> <a class="type" href="../../../combine/type.ParseResult.html" title="type combine::ParseResult">ParseResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#205-207' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses using the stream <code>input</code> by calling [<code>Stream::uncons</code>] one or more times. <a href="../../../combine/trait.Parser.html#method.parse_stream">Read more</a></p>
|
||
</div><h4 id='method.parse_stream_consumed' class="method"><code id='parse_stream_consumed.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_stream_consumed' class='fnname'>parse_stream_consumed</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#219-235' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses using the stream <code>input</code> by calling [<code>Stream::uncons</code>] one or more times. <a href="../../../combine/trait.Parser.html#method.parse_stream_consumed">Read more</a></p>
|
||
</div><h4 id='method.parse_stream_consumed_partial' class="method"><code id='parse_stream_consumed_partial.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_stream_consumed_partial' class='fnname'>parse_stream_consumed_partial</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> state: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#238-254' title='goto source code'>[src]</a></h4><h4 id='method.parse_lazy' class="method"><code id='parse_lazy.v'>fn <a href='../../../combine/trait.Parser.html#method.parse_lazy' class='fnname'>parse_lazy</a>(<br> &mut self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><br>) -> <a class="type" href="../../../combine/type.ConsumedResult.html" title="type combine::ConsumedResult">ConsumedResult</a><Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#277-292' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses using the stream <code>input</code> by calling [<code>Stream::uncons</code>] one or more times. <a href="../../../combine/trait.Parser.html#method.parse_lazy">Read more</a></p>
|
||
</div><h4 id='method.by_ref' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'_, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, W> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<'_, F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>F <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output' class="type">Output</a> = <F as <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output" title="type core::future::future::Future::Output">Output</a>;</span></code></div></div><code id='by_ref.v'>fn <a href='../../../combine/trait.Parser.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#428-433' title='goto source code'>[src]</a></h4><div class='docblock'><p>Borrows a parser instead of consuming it. <a href="../../../combine/trait.Parser.html#method.by_ref">Read more</a></p>
|
||
</div><h4 id='method.with' class="method"><code id='with.v'>fn <a href='../../../combine/trait.Parser.html#method.with' class='fnname'>with</a><P2>(self, p: P2) -> <a class="struct" href="../../../combine/parser/sequence/struct.With.html" title="struct combine::parser::sequence::With">With</a><Self, P2> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> P2: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#450-456' title='goto source code'>[src]</a></h4><div class='docblock'><p>Discards the value of the <code>self</code> parser and returns the value of <code>p</code>. Fails if any of the parsers fails. <a href="../../../combine/trait.Parser.html#method.with">Read more</a></p>
|
||
</div><h4 id='method.skip' class="method"><code id='skip.v'>fn <a href='../../../combine/trait.Parser.html#method.skip' class='fnname'>skip</a><P2>(self, p: P2) -> <a class="struct" href="../../../combine/parser/sequence/struct.Skip.html" title="struct combine::parser::sequence::Skip">Skip</a><Self, P2> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> P2: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#473-479' title='goto source code'>[src]</a></h4><div class='docblock'><p>Discards the value of the <code>p</code> parser and returns the value of <code>self</code>. Fails if any of the parsers fails. <a href="../../../combine/trait.Parser.html#method.skip">Read more</a></p>
|
||
</div><h4 id='method.and' class="method"><code id='and.v'>fn <a href='../../../combine/trait.Parser.html#method.and' class='fnname'>and</a><P2>(self, p: P2) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, P2<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> P2: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#497-503' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses with <code>self</code> followed by <code>p</code>. Succeeds if both parsers succeed, otherwise fails. Returns a tuple with both values on success. <a href="../../../combine/trait.Parser.html#method.and">Read more</a></p>
|
||
</div><h4 id='method.or' class="method"><code id='or.v'>fn <a href='../../../combine/trait.Parser.html#method.or' class='fnname'>or</a><P2>(self, p: P2) -> <a class="struct" href="../../../combine/parser/choice/struct.Or.html" title="struct combine::parser::choice::Or">Or</a><Self, P2> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> P2: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, Output = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#534-540' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns a parser which attempts to parse using <code>self</code>. If <code>self</code> fails without consuming any input it tries to consume the same input using <code>p</code>. <a href="../../../combine/trait.Parser.html#method.or">Read more</a></p>
|
||
</div><h4 id='method.then' class="method"><code id='then.v'>fn <a href='../../../combine/trait.Parser.html#method.then' class='fnname'>then</a><N, F>(self, f: F) -> <a class="struct" href="../../../combine/parser/sequence/struct.Then.html" title="struct combine::parser::sequence::Then">Then</a><Self, F> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>) -> N,<br> N: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#571-578' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses using <code>self</code> and then passes the value to <code>f</code> which returns a parser used to parse the rest of the input. <a href="../../../combine/trait.Parser.html#method.then">Read more</a></p>
|
||
</div><h4 id='method.then_partial' class="method"><code id='then_partial.v'>fn <a href='../../../combine/trait.Parser.html#method.then_partial' class='fnname'>then_partial</a><N, F>(self, f: F) -> <a class="struct" href="../../../combine/parser/sequence/struct.ThenPartial.html" title="struct combine::parser::sequence::ThenPartial">ThenPartial</a><Self, F> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>) -> N,<br> N: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#610-617' title='goto source code'>[src]</a></h4><div class='docblock'><p>Variant of <code>then</code> which parses using <code>self</code> and then passes the value to <code>f</code> as a <code>&mut</code> reference. <a href="../../../combine/trait.Parser.html#method.then_partial">Read more</a></p>
|
||
</div><h4 id='method.map' class="method"><code id='map.v'>fn <a href='../../../combine/trait.Parser.html#method.map' class='fnname'>map</a><F, B>(self, f: F) -> <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><Self, F> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>) -> B, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#633-639' title='goto source code'>[src]</a></h4><div class='docblock'><p>Uses <code>f</code> to map over the parsed value. <a href="../../../combine/trait.Parser.html#method.map">Read more</a></p>
|
||
</div><h4 id='method.flat_map' class="method"><code id='flat_map.v'>fn <a href='../../../combine/trait.Parser.html#method.flat_map' class='fnname'>flat_map</a><F, B>(self, f: F) -> <a class="struct" href="../../../combine/parser/combinator/struct.FlatMap.html" title="struct combine::parser::combinator::FlatMap">FlatMap</a><Self, F> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><B, <Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#655-661' title='goto source code'>[src]</a></h4><div class='docblock'><p>Uses <code>f</code> to map over the output of <code>self</code>. If <code>f</code> returns an error the parser fails. <a href="../../../combine/trait.Parser.html#method.flat_map">Read more</a></p>
|
||
</div><h4 id='method.message' class="method"><code id='message.v'>fn <a href='../../../combine/trait.Parser.html#method.message' class='fnname'>message</a><S>(self, msg: S) -> <a class="struct" href="../../../combine/parser/error/struct.Message.html" title="struct combine::parser::error::Message">Message</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../../../combine/error/enum.Info.html" title="enum combine::error::Info">Info</a><<Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Item" title="type combine::StreamOnce::Item">Item</a>, <Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Range" title="type combine::StreamOnce::Range">Range</a>>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#685-691' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses with <code>self</code> and if it fails, adds the message <code>msg</code> to the error. <a href="../../../combine/trait.Parser.html#method.message">Read more</a></p>
|
||
</div><h4 id='method.expected' class="method"><code id='expected.v'>fn <a href='../../../combine/trait.Parser.html#method.expected' class='fnname'>expected</a><S>(self, msg: S) -> <a class="struct" href="../../../combine/parser/error/struct.Expected.html" title="struct combine::parser::error::Expected">Expected</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="../../../combine/error/enum.Info.html" title="enum combine::error::Info">Info</a><<Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Item" title="type combine::StreamOnce::Item">Item</a>, <Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a> as <a class="trait" href="../../../combine/trait.StreamOnce.html" title="trait combine::StreamOnce">StreamOnce</a>>::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Range" title="type combine::StreamOnce::Range">Range</a>>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#715-721' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses with <code>self</code> and if it fails without consuming any input any expected errors are replaced by <code>msg</code>. <code>msg</code> is then used in error messages as "Expected <code>msg</code>". <a href="../../../combine/trait.Parser.html#method.expected">Read more</a></p>
|
||
</div><h4 id='method.silent' class="method"><code id='silent.v'>fn <a href='../../../combine/trait.Parser.html#method.silent' class='fnname'>silent</a>(self) -> <a class="struct" href="../../../combine/parser/error/struct.Silent.html" title="struct combine::parser::error::Silent">Silent</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#745-750' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses with <code>self</code>, if it fails without consuming any input any expected errors that would otherwise be emitted by <code>self</code> are suppressed. <a href="../../../combine/trait.Parser.html#method.silent">Read more</a></p>
|
||
</div><h4 id='method.and_then' class="method"><code id='and_then.v'>fn <a href='../../../combine/trait.Parser.html#method.and_then' class='fnname'>and_then</a><F, O, E, I>(self, f: F) -> <a class="struct" href="../../../combine/parser/combinator/struct.AndThen.html" title="struct combine::parser::combinator::AndThen">AndThen</a><Self, F> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = I> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><O, E>,<br> I: <a class="trait" href="../../../combine/trait.Stream.html" title="trait combine::Stream">Stream</a>,<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Error" title="type combine::StreamOnce::Error">Error</a> as <a class="trait" href="../../../combine/trait.ParseError.html" title="trait combine::ParseError">ParseError</a><I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Item" title="type combine::StreamOnce::Item">Item</a>, I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Range" title="type combine::StreamOnce::Range">Range</a>, I::<a class="type" href="../../../combine/trait.StreamOnce.html#associatedtype.Position" title="type combine::StreamOnce::Position">Position</a>>>::<a class="type" href="../../../combine/trait.ParseError.html#associatedtype.StreamError" title="type combine::ParseError::StreamError">StreamError</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#771-779' title='goto source code'>[src]</a></h4><div class='docblock'><p>Parses with <code>self</code> and applies <code>f</code> on the result if <code>self</code> parses successfully. <code>f</code> may optionally fail with an error which is automatically converted to a <code>ParseError</code>. <a href="../../../combine/trait.Parser.html#method.and_then">Read more</a></p>
|
||
</div><h4 id='method.iter' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M></h3><code class="content"><span class="where fmt-newline">impl<'a, P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a>, S, M> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M> <span class="where fmt-newline">where<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><P::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a>>,<br> M: ParseMode, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = P::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>;</span></code></div></div><code id='iter.v'>fn <a href='../../../combine/trait.Parser.html#method.iter' class='fnname'>iter</a>(<br> self, <br> input: &mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a><br>) -> <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><Self, Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a>, FirstMode> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#804-809' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates an iterator from a parser and a state. Can be used as an alternative to [<code>many</code>] when collecting directly into a <code>Extend</code> type is not desirable. <a href="../../../combine/trait.Parser.html#method.iter">Read more</a></p>
|
||
</div><h4 id='method.partial_iter' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M></h3><code class="content"><span class="where fmt-newline">impl<'a, P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a>, S, M> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, P, S, M> <span class="where fmt-newline">where<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><P::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a>>,<br> M: ParseMode, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = P::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>;</span></code></div></div><code id='partial_iter.v'>fn <a href='../../../combine/trait.Parser.html#method.partial_iter' class='fnname'>partial_iter</a><'a, 's, M>(<br> self, <br> mode: M, <br> input: &'a mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, <br> partial_state: &'s mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a><br>) -> <a class="struct" href="../../../combine/parser/repeat/struct.Iter.html" title="struct combine::parser::repeat::Iter">Iter</a><'a, Self, &'s mut Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a>, M> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> M: ParseMode, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#834-845' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates an iterator from a parser and a state. Can be used as an alternative to [<code>many</code>] when collecting directly into a <code>Extend</code> type is not desirable. <a href="../../../combine/trait.Parser.html#method.partial_iter">Read more</a></p>
|
||
</div><h4 id='method.boxed' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><R></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><R></h3><code class="content"><span class="where fmt-newline">impl<R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><R> <span class="where fmt-newline">where<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<W> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><W> <span class="where fmt-newline">where<br> W: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><I> <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output' class="type">Output</a> = <F as <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output" title="type core::future::future::Future::Output">Output</a>;</span></code></div></div><code id='boxed.v'>fn <a href='../../../combine/trait.Parser.html#method.boxed' class='fnname'>boxed</a><'a>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, Output = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>, PartialState = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.PartialState" title="type combine::Parser::PartialState">PartialState</a>> + 'a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#868-877' title='goto source code'>[src]</a></h4><div class='docblock'><p>Turns the parser into a trait object by putting it in a <code>Box</code>. Can be used to easily return parsers from functions without naming the type. <a href="../../../combine/trait.Parser.html#method.boxed">Read more</a></p>
|
||
</div><h4 id='method.left' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R></h3><code class="content"><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <L as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <L as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a>, </span></span><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a>, </span></span></code></div></div><code id='left.v'>fn <a href='../../../combine/trait.Parser.html#method.left' class='fnname'>left</a><R>(self) -> <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><Self, R> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, Output = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#905-911' title='goto source code'>[src]</a></h4><div class='docblock'><p>Wraps the parser into the <code>Either</code> enum which allows combinators such as <code>then</code> to return multiple different parser types (merging them to one) <a href="../../../combine/trait.Parser.html#method.left">Read more</a></p>
|
||
</div><h4 id='method.right' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R></h3><code class="content"><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <L as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <L as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a>, </span></span><span class="where fmt-newline">impl<L, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, R> <span class="where fmt-newline">where<br> L: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a>,<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a>, </span></span></code></div></div><code id='right.v'>fn <a href='../../../combine/trait.Parser.html#method.right' class='fnname'>right</a><L>(self) -> <a class="enum" href="../../../either/enum.Either.html" title="enum either::Either">Either</a><L, Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> L: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a><Input = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Input" title="type combine::Parser::Input">Input</a>, Output = Self::<a class="type" href="../../../combine/trait.Parser.html#associatedtype.Output" title="type combine::Parser::Output">Output</a>>, </span></code><a class='srclink' href='../../../src/combine/parser/mod.rs.html#939-945' title='goto source code'>[src]</a></h4><div class='docblock'><p>Wraps the parser into the <code>Either</code> enum which allows combinators such as <code>then</code> to return multiple different parser types (merging them to one) <a href="../../../combine/trait.Parser.html#method.right">Read more</a></p>
|
||
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl<P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F> <span class="where fmt-newline">where<br> P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a>, </span></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#248' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F></code><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#248' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div><h4 id='method.clone_from' class="method"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl<P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>, F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F> <span class="where fmt-newline">where<br> P: <a class="trait" href="../../../combine/trait.Parser.html" title="trait combine::Parser">Parser</a>, </span></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../../src/combine/parser/combinator.rs.html#248' title='goto source code'>[src]</a></h3><div class='impl-items'></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl<P, F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl<P, F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../combine/parser/combinator/struct.Map.html" title="struct combine::parser::combinator::Map">Map</a><P, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>, </span></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-From' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a> for T</code><a href='#impl-From' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#547' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Into' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#537-542' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#539-541' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#80-91' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&self) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#84-86' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
|
||
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88-90' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
|
||
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
|
||
</div></div><h3 id='impl-TryFrom' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#565-571' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#568-570' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id='impl-Borrow' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'_, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, W> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<'_, F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>F <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output' class="type">Output</a> = <F as <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output" title="type core::future::future::Future::Output">Output</a>;</span></code></div></div><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></div><h3 id='impl-BorrowMut' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'_, R> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, W> <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html" title="trait std::io::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'_, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::traits::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline">impl<'_, F> <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>F <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output' class="type">Output</a> = <F as <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html#associatedtype.Output" title="type core::future::future::Future::Output">Output</a>;</span></code></div></div><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></div><h3 id='impl-TryInto' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-560' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#557-559' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../";window.currentCrate = "combine";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html> |