<preclass='rust trait'>pub trait Index: Sealed { }</pre><divclass='docblock'><p>Types that can be used to index a <code>toml::Value</code></p>
<p>Currently this is implemented for <code>usize</code> to index arrays and <code>str</code> to index
tables.</p>
<p>This trait is sealed and not intended for implementation outside of the
<code>toml</code> crate.</p>
</div>
<h2id='implementors'>Implementors</h2>
<ulclass='item-list'id='implementors-list'>
<li><code>impl Index for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></li>
<li><code>impl Index for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
<li><code>impl Index for <aclass="struct"href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></code></li>
<li><code>impl<'s, T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>> Index for &'s T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="../../toml/value/trait.Index.html"title="trait toml::value::Index">Index</a>, </span></code></li>