10 lines
28 KiB
HTML
10 lines
28 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 `Slice` trait in crate `nom`."><meta name="keywords" content="rust, rustlang, rust-lang, Slice"><title>nom::Slice - 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 trait"><!--[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='../nom/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Trait Slice</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.slice">slice</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20%5BT%5D">&'a [T]</a><a href="#impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20str">&'a str</a><a href="#impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20%5BT%5D">&'a [T]</a><a href="#impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20str">&'a str</a><a href="#impl-Slice%3CRangeFull%3E-for-%26%27a%20%5BT%5D">&'a [T]</a><a href="#impl-Slice%3CRangeFull%3E-for-%26%27a%20str">&'a str</a><a href="#impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20%5BT%5D">&'a [T]</a><a href="#impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20str">&'a str</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='index.html'>nom</a></p><script>window.sidebarCurrent = {name: 'Slice', ty: 'trait', 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"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled 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/nom/traits.rs.html#906-909' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='index.html'>nom</a>::<wbr><a class="trait" href=''>Slice</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait Slice<R> {
|
||
fn <a href='#tymethod.slice' class='fnname'>slice</a>(&self, range: R) -> Self;
|
||
}</pre></div><div class='docblock'><p>slicing operations using ranges</p>
|
||
<p>this trait is loosely based on
|
||
<code>Index</code>, but can actually return
|
||
something else than a <code>&[T]</code> or <code>&str</code></p>
|
||
</div>
|
||
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.slice' class='method'><code id='slice.v'>fn <a href='#tymethod.slice' class='fnname'>slice</a>(&self, range: R) -> Self</code></h3></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20str' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#926-928' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice' class="method hidden"><code id='slice.v-1'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20str' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#926-928' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-1' class="method hidden"><code id='slice.v-2'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20str' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#926-928' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-2' class="method hidden"><code id='slice.v-3'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFull%3E-for-%26%27a%20str' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-Slice%3CRangeFull%3E-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#926-928' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-3' class="method hidden"><code id='slice.v-4'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a></code><a href='#impl-Slice%3CRange%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#921-923' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-4' class="method hidden"><code id='slice.v-5'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a></code><a href='#impl-Slice%3CRangeTo%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#921-923' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-5' class="method hidden"><code id='slice.v-6'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a></code><a href='#impl-Slice%3CRangeFrom%3Cusize%3E%3E-for-%26%27a%20%5BT%5D' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#921-923' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-6' class="method hidden"><code id='slice.v-7'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFull%3E-for-%26%27a%20%5BT%5D' class='impl'><code class='in-band'>impl<'a, T> <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [T]</a></code><a href='#impl-Slice%3CRangeFull%3E-for-%26%27a%20%5BT%5D' class='anchor'></a><a class='srclink' href='../src/nom/traits.rs.html#921-923' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-7' class="method hidden"><code id='slice.v-8'>fn <a href='#method.slice' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>) -> Self</code><a class='srclink' href='../src/nom/traits.rs.html#913-915' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-Slice%3CRange%3Cusize%3E%3E' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteByteSlice.html" title="struct nom::types::CompleteByteSlice">CompleteByteSlice</a><'a></code><a href='#impl-Slice%3CRange%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#234-239' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-8' class="method hidden"><code id='slice.v-9'>fn <a href='#method.slice-8' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#236-238' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRange%3Cusize%3E%3E-1' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteStr.html" title="struct nom::types::CompleteStr">CompleteStr</a><'a></code><a href='#impl-Slice%3CRange%3Cusize%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#65-70' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-9' class="method hidden"><code id='slice.v-10'>fn <a href='#method.slice-9' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#67-69' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFrom%3Cusize%3E%3E' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteByteSlice.html" title="struct nom::types::CompleteByteSlice">CompleteByteSlice</a><'a></code><a href='#impl-Slice%3CRangeFrom%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#248-253' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-10' class="method hidden"><code id='slice.v-11'>fn <a href='#method.slice-10' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#250-252' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFrom%3Cusize%3E%3E-1' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteStr.html" title="struct nom::types::CompleteStr">CompleteStr</a><'a></code><a href='#impl-Slice%3CRangeFrom%3Cusize%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#79-84' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-11' class="method hidden"><code id='slice.v-12'>fn <a href='#method.slice-11' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#81-83' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFull%3E' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>> for <a class="struct" href="../nom/types/struct.CompleteByteSlice.html" title="struct nom::types::CompleteByteSlice">CompleteByteSlice</a><'a></code><a href='#impl-Slice%3CRangeFull%3E' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#255-260' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-12' class="method hidden"><code id='slice.v-13'>fn <a href='#method.slice-12' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#257-259' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFull%3E-1' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>> for <a class="struct" href="../nom/types/struct.CompleteStr.html" title="struct nom::types::CompleteStr">CompleteStr</a><'a></code><a href='#impl-Slice%3CRangeFull%3E-1' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#86-91' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-13' class="method hidden"><code id='slice.v-14'>fn <a href='#method.slice-13' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#88-90' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeTo%3Cusize%3E%3E' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteByteSlice.html" title="struct nom::types::CompleteByteSlice">CompleteByteSlice</a><'a></code><a href='#impl-Slice%3CRangeTo%3Cusize%3E%3E' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#241-246' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-14' class="method hidden"><code id='slice.v-15'>fn <a href='#method.slice-14' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#243-245' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeTo%3Cusize%3E%3E-1' class='impl'><code class='in-band'>impl<'a> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.CompleteStr.html" title="struct nom::types::CompleteStr">CompleteStr</a><'a></code><a href='#impl-Slice%3CRangeTo%3Cusize%3E%3E-1' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#72-77' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-15' class="method hidden"><code id='slice.v-16'>fn <a href='#method.slice-15' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#74-76' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRange%3Cusize%3E%3E-2' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>>> Slice<<a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.Input.html" title="struct nom::types::Input">Input</a><T></code><a href='#impl-Slice%3CRange%3Cusize%3E%3E-2' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#391-398' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-16' class="method hidden"><code id='slice.v-17'>fn <a href='#method.slice-16' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.Range.html" title="struct nom::lib::std::ops::Range">Range</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#392-397' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFrom%3Cusize%3E%3E-2' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>>> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.Input.html" title="struct nom::types::Input">Input</a><T></code><a href='#impl-Slice%3CRangeFrom%3Cusize%3E%3E-2' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#409-416' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-17' class="method hidden"><code id='slice.v-18'>fn <a href='#method.slice-17' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFrom.html" title="struct nom::lib::std::ops::RangeFrom">RangeFrom</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#410-415' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeFull%3E-2' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>>> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>> for <a class="struct" href="../nom/types/struct.Input.html" title="struct nom::types::Input">Input</a><T></code><a href='#impl-Slice%3CRangeFull%3E-2' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#418-425' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-18' class="method hidden"><code id='slice.v-19'>fn <a href='#method.slice-18' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeFull.html" title="struct nom::lib::std::ops::RangeFull">RangeFull</a>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#419-424' title='goto source code'>[src]</a></h4></div><h3 id='impl-Slice%3CRangeTo%3Cusize%3E%3E-2' class='impl'><code class='in-band'>impl<T: <a class="trait" href="../nom/trait.Slice.html" title="trait nom::Slice">Slice</a><<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>>> Slice<<a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>> for <a class="struct" href="../nom/types/struct.Input.html" title="struct nom::types::Input">Input</a><T></code><a href='#impl-Slice%3CRangeTo%3Cusize%3E%3E-2' class='anchor'></a><a class='srclink' href='../src/nom/types.rs.html#400-407' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.slice-19' class="method hidden"><code id='slice.v-20'>fn <a href='#method.slice-19' class='fnname'>slice</a>(&self, range: <a class="struct" href="../nom/lib/std/ops/struct.RangeTo.html" title="struct nom::lib::std::ops::RangeTo">RangeTo</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>) -> Self</code><a class='srclink' href='../src/nom/types.rs.html#401-406' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript" src="../implementors/nom/trait.Slice.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "nom";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |