[−][src]Trait toml_spanned_value::spanned_value::Index
Types that can be used to index a toml::ValueKind
Currently this is implemented for usize
to index arrays and str
to index
tables.
This trait is sealed and not intended for implementation outside of the
toml
crate.
Implementations on Foreign Types
impl Index for usize
[src]
fn index<'a>(&self, val: &'a ValueKind) -> Option<&'a SpannedValue>
[src]
fn index_mut<'a>(&self, val: &'a mut ValueKind) -> Option<&'a mut SpannedValue>
[src]
impl Index for str
[src]
fn index<'a>(&self, val: &'a ValueKind) -> Option<&'a SpannedValue>
[src]
fn index_mut<'a>(&self, val: &'a mut ValueKind) -> Option<&'a mut SpannedValue>
[src]
impl Index for String
[src]
fn index<'a>(&self, val: &'a ValueKind) -> Option<&'a SpannedValue>
[src]
fn index_mut<'a>(&self, val: &'a mut ValueKind) -> Option<&'a mut SpannedValue>
[src]
impl<'s, T: ?Sized> Index for &'s T where
T: Index,
[src]
T: Index,