Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > fdedb3cf2140df9b6d419a2338ab1caa > files > 305

rust-doc-1.25.0-1.mga6.x86_64.rpm

<!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 `SliceIndex` trait in crate `alloc`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, SliceIndex">

    <title>alloc::slice::SliceIndex - 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="../../main.css" id="themeStyle">
    <script src="../../storage.js"></script>
    

    <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico">
    
</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">&#9776;</div>
        <a href='../../alloc/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a>
        <p class='location'>Trait SliceIndex</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Output">Output</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.get">get</a><a href="#tymethod.get_mut">get_mut</a><a href="#tymethod.get_unchecked">get_unchecked</a><a href="#tymethod.get_unchecked_mut">get_unchecked_mut</a><a href="#tymethod.index">index</a><a href="#tymethod.index_mut">index_mut</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-SliceIndex%3Cstr%3E">Range&lt;usize&gt;</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">Range&lt;usize&gt;</a><a href="#impl-SliceIndex%3Cstr%3E">RangeInclusive&lt;usize&gt;</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">RangeInclusive&lt;usize&gt;</a><a href="#impl-SliceIndex%3Cstr%3E">RangeFrom&lt;usize&gt;</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">RangeToInclusive&lt;usize&gt;</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">RangeFrom&lt;usize&gt;</a><a href="#impl-SliceIndex%3Cstr%3E">RangeToInclusive&lt;usize&gt;</a><a href="#impl-SliceIndex%3Cstr%3E">RangeTo&lt;usize&gt;</a><a href="#impl-SliceIndex%3Cstr%3E">RangeFull</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">RangeTo&lt;usize&gt;</a><a href="#impl-SliceIndex%3C%5BT%5D%3E">RangeFull</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>alloc</a>::<wbr><a href='index.html'>slice</a></p><script>window.sidebarCurrent = {name: 'SliceIndex', 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 js-only">
            <div class="search-container">
                <input class="search-input" name="search"
                       autocomplete="off"
                       placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
                       type="search">
            </div>
        </form>
    </nav>

    <section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Trait <a href='../index.html'>alloc</a>::<wbr><a href='index.html'>slice</a>::<wbr><a class="trait" href=''>SliceIndex</a></span><span class='out-of-band'><span class='since' title='Stable since Rust version '></span><span id='render-detail'>
                   <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
                       [<span class='inner'>&#x2212;</span>]
                   </a>
               </span><a class='srclink' href='../../src/core/slice/mod.rs.html#797-824' title='goto source code'>[src]</a></span></h1>
<pre class='rust trait'>pub trait SliceIndex&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span>{
    type <a href='#associatedtype.Output' class="type">Output</a>: ?<a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>;
    fn <a href='#tymethod.get' class='fnname'>get</a>(self, slice: &amp;T) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;;
<div class='item-spacer'></div>    fn <a href='#tymethod.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut T) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;;
<div class='item-spacer'></div>    unsafe fn <a href='#tymethod.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;T) -&gt; &amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>;
<div class='item-spacer'></div>    unsafe fn <a href='#tymethod.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut T) -&gt; &amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>;
<div class='item-spacer'></div>    fn <a href='#tymethod.index' class='fnname'>index</a>(self, slice: &amp;T) -&gt; &amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>;
<div class='item-spacer'></div>    fn <a href='#tymethod.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut T) -&gt; &amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>;
}</pre><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>A helper trait used for indexing operations.</p>
</div>
            <h2 id='associated-types' class='small-section-header'>
              Associated Types<a href='#associated-types' class='anchor'></a>
            </h2>
            <div class='methods'>
        <h3 id='associatedtype.Output' class='method'><span id='Output.t' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a>: ?<a class="trait" href="../../core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>The output type returned by methods.</p>
</div></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.get' class='method'><span id='get.v' class='invisible'><code>fn <a href='#tymethod.get' class='fnname'>get</a>(self, slice: &amp;T) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a shared reference to the output at this location, if in
bounds.</p>
</div><h3 id='tymethod.get_mut' class='method'><span id='get_mut.v' class='invisible'><code>fn <a href='#tymethod.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut T) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a mutable reference to the output at this location, if in
bounds.</p>
</div><h3 id='tymethod.get_unchecked' class='method'><span id='get_unchecked.v' class='invisible'><code>unsafe fn <a href='#tymethod.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;T) -&gt; &amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a shared reference to the output at this location, without
performing any bounds checking.</p>
</div><h3 id='tymethod.get_unchecked_mut' class='method'><span id='get_unchecked_mut.v' class='invisible'><code>unsafe fn <a href='#tymethod.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut T) -&gt; &amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a mutable reference to the output at this location, without
performing any bounds checking.</p>
</div><h3 id='tymethod.index' class='method'><span id='index.v' class='invisible'><code>fn <a href='#tymethod.index' class='fnname'>index</a>(self, slice: &amp;T) -&gt; &amp;Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a shared reference to the output at this location, panicking
if out of bounds.</p>
</div><h3 id='tymethod.index_mut' class='method'><span id='index_mut.v' class='invisible'><code>fn <a href='#tymethod.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut T) -&gt; &amp;mut Self::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span></h3><div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><div class='docblock'><p>Returns a mutable reference to the output at this location, panicking
if out of bounds.</p>
</div></div>
                <h2 id='foreign-impls' class='small-section-header'>
                  Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a>
                </h2>
            <h3 id='impl-SliceIndex%3Cstr%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3Cstr%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1855-1906' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-1' class="type"><span id='Output.t-1' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get' class="method"><span id='get.v-1' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;str) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1858-1866' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut' class="method"><span id='get_mut.v-1' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1868-1876' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked.v-1' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1878-1882' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked_mut.v-1' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1884-1888' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index.v-1' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;str) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1890-1893' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index_mut.v-1' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1895-1905' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3C%5BT%5D%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#876-934' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-2' class="type"><span id='Output.t-2' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-1' class="method"><span id='get.v-2' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#880-888' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-1' class="method"><span id='get_mut.v-2' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#891-899' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-1' class="method"><span id='get_unchecked.v-2' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#902-904' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-1' class="method"><span id='get_unchecked_mut.v-2' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#907-909' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-1' class="method"><span id='index.v-2' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#912-921' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-1' class="method"><span id='index_mut.v-2' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#924-933' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3Cstr%3E-1' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3Cstr%3E-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2003-2041' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-3' class="type"><span id='Output.t-3' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-2' class="method"><span id='get.v-3' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2006-2012' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-2' class="method"><span id='get_mut.v-3' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2014-2020' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked.v-3' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2022-2024' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked_mut.v-3' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2026-2028' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index.v-3' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2030-2034' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index_mut.v-3' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2036-2040' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E-1' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.RangeInclusive.html" title="struct core::ops::range::RangeInclusive">RangeInclusive</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3C%5BT%5D%3E-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1043-1081' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-4' class="type"><span id='Output.t-4' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-3' class="method"><span id='get.v-4' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1047-1050' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-3' class="method"><span id='get_mut.v-4' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1053-1056' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-3' class="method"><span id='get_unchecked.v-4' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1059-1061' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-3' class="method"><span id='get_unchecked_mut.v-4' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1064-1066' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-3' class="method"><span id='index.v-4' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1069-1073' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-3' class="method"><span id='index_mut.v-4' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1076-1080' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3Cstr%3E-2' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3Cstr%3E-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1954-1998' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-5' class="type"><span id='Output.t-5' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-4' class="method"><span id='get.v-5' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1957-1963' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-4' class="method"><span id='get_mut.v-5' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1965-1971' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked.v-5' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1973-1977' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='get_unchecked_mut.v-5' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1979-1983' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index.v-5' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;str) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1985-1988' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt;</h3><code class="content"><span class="where fmt-newline">impl&lt;A&gt; <a class="trait" href="../../core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;A&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../core/iter/range/trait.Step.html" title="trait core::iter::range::Step">Step</a>,&nbsp;</span></span><span class="where fmt-newline">    type <a href='../../core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = A;</span></code></div></div><span id='index_mut.v-5' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1990-1997' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E-2' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3C%5BT%5D%3E-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1084-1116' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-6' class="type"><span id='Output.t-6' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-5' class="method"><span id='get.v-6' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1088-1090' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-5' class="method"><span id='get_mut.v-6' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1093-1095' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-5' class="method"><span id='get_unchecked.v-6' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1098-1100' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-5' class="method"><span id='get_unchecked_mut.v-6' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1103-1105' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-5' class="method"><span id='index.v-6' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1108-1110' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-5' class="method"><span id='index_mut.v-6' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1113-1115' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E-3' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.RangeFrom.html" title="struct core::ops::range::RangeFrom">RangeFrom</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3C%5BT%5D%3E-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#972-1004' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-7' class="type"><span id='Output.t-7' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-6' class="method"><span id='get.v-7' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#976-978' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-6' class="method"><span id='get_mut.v-7' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#981-983' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-6' class="method"><span id='get_unchecked.v-7' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#986-988' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-6' class="method"><span id='get_unchecked_mut.v-7' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#991-993' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-6' class="method"><span id='index.v-7' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#996-998' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-6' class="method"><span id='index_mut.v-7' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1001-1003' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3Cstr%3E-3' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3Cstr%3E-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2048-2093' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-8' class="type"><span id='Output.t-8' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-7' class="method"><span id='get.v-8' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2051-2057' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-7' class="method"><span id='get_mut.v-8' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2059-2065' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-7' class="method"><span id='get_unchecked.v-8' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2067-2070' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-7' class="method"><span id='get_unchecked_mut.v-8' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2072-2075' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-7' class="method"><span id='index.v-8' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2077-2082' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-7' class="method"><span id='index_mut.v-8' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeToInclusive.html" title="struct core::ops::range::RangeToInclusive">RangeToInclusive</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#2084-2092' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3Cstr%3E-4' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3Cstr%3E-4' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1909-1951' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-9' class="type"><span id='Output.t-9' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-8' class="method"><span id='get.v-9' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1912-1918' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-8' class="method"><span id='get_mut.v-9' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1920-1926' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-8' class="method"><span id='get_unchecked.v-9' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1928-1931' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-8' class="method"><span id='get_unchecked_mut.v-9' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1933-1936' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-8' class="method"><span id='index.v-9' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;str) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1938-1941' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-8' class="method"><span id='index_mut.v-9' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt; as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1943-1950' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3Cstr%3E-5' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt; for <a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a></code><a href='#impl-SliceIndex%3Cstr%3E-5' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1826-1852' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-10' class="type"><span id='Output.t-10' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = str</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-9' class="method"><span id='get.v-10' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;str) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1829-1831' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-9' class="method"><span id='get_mut.v-10' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1833-1835' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-9' class="method"><span id='get_unchecked.v-10' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;str<br>) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1837-1839' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-9' class="method"><span id='get_unchecked_mut.v-10' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1841-1843' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-9' class="method"><span id='index.v-10' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;str) -&gt; &amp;&lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1845-1847' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-9' class="method"><span id='index_mut.v-10' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;slice: &amp;mut str<br>) -&gt; &amp;mut &lt;<a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a> as <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;str&gt;&gt;::<a class="type" href="../../alloc/slice/trait.SliceIndex.html#associatedtype.Output" title="type alloc::slice::SliceIndex::Output">Output</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/str/mod.rs.html#1849-1851' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E-4' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.RangeTo.html" title="struct core::ops::range::RangeTo">RangeTo</a>&lt;usize&gt;</code><a href='#impl-SliceIndex%3C%5BT%5D%3E-4' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#937-969' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-11' class="type"><span id='Output.t-11' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-10' class="method"><span id='get.v-11' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#941-943' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-10' class="method"><span id='get_mut.v-11' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#946-948' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-10' class="method"><span id='get_unchecked.v-11' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#951-953' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-10' class="method"><span id='get_unchecked_mut.v-11' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#956-958' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-10' class="method"><span id='index.v-11' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#961-963' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-10' class="method"><span id='index_mut.v-11' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#966-968' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span><h3 id='impl-SliceIndex%3C%5BT%5D%3E-5' class='impl'><span class='in-band'><code>impl&lt;T&gt; <a class="trait" href="../../alloc/slice/trait.SliceIndex.html" title="trait alloc::slice::SliceIndex">SliceIndex</a>&lt;[T]&gt; for <a class="struct" href="../../core/ops/range/struct.RangeFull.html" title="struct core::ops::range::RangeFull">RangeFull</a></code><a href='#impl-SliceIndex%3C%5BT%5D%3E-5' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1007-1039' title='goto source code'>[src]</a></span></h3>
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Output-12' class="type"><span id='Output.t-12' class='invisible'><code>type <a href='#associatedtype.Output' class="type">Output</a> = [T]</code></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get-11' class="method"><span id='get.v-12' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(self, slice: &amp;[T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1011-1013' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_mut-11' class="method"><span id='get_mut.v-12' class='invisible'><code>fn <a href='#method.get_mut' class='fnname'>get_mut</a>(self, slice: &amp;mut [T]) -&gt; <a class="enum" href="../../core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut [T]&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1016-1018' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked-11' class="method"><span id='get_unchecked.v-12' class='invisible'><code>unsafe fn <a href='#method.get_unchecked' class='fnname'>get_unchecked</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1021-1023' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.get_unchecked_mut-11' class="method"><span id='get_unchecked_mut.v-12' class='invisible'><code>unsafe fn <a href='#method.get_unchecked_mut' class='fnname'>get_unchecked_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1026-1028' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index-11' class="method"><span id='index.v-12' class='invisible'><code>fn <a href='#method.index' class='fnname'>index</a>(self, slice: &amp;[T]) -&gt; &amp;[T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1031-1033' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div><h4 id='method.index_mut-11' class="method"><span id='index_mut.v-12' class='invisible'><code>fn <a href='#method.index_mut' class='fnname'>index_mut</a>(self, slice: &amp;mut [T]) -&gt; &amp;mut [T]</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/core/slice/mod.rs.html#1036-1038' title='goto source code'>[src]</a></span></h4>
<div class='stability'><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API.  (<code>slice_get_slice </code><a href="https://github.com/rust-lang/rust/issues/35729">#35729</a>)</div></div></div></span>
        <h2 id='implementors' class='small-section-header'>
          Implementors<a href='#implementors' class='anchor'></a>
        </h2>
        <ul class='item-list' id='implementors-list'>
    <li><div class='out-of-band'><a class='srclink' href='../../src/core/slice/mod.rs.html#827-873' title='goto source code'>[src]</a></div><code>impl&lt;T&gt; SliceIndex&lt;[T]&gt; for usize<span class="where fmt-newline">  type <a href='#associatedtype.Output' class="type">Output</a> = T;</span></code></li>
</ul><script type="text/javascript" async
                         src="../../implementors/core/slice/trait.SliceIndex.js">
                 </script></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>&#9166;</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>
            </div>
        </div>
    </aside>

    

    <script>
        window.rootPath = "../../";
        window.currentCrate = "alloc";
    </script>
    <script src="../../main.js"></script>
    <script defer src="../../search-index.js"></script>
</body>
</html>