Trait toml::value::Index [−][src]
Types that can be used to index a toml::Value
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 Value) -> Option<&'a Value>
[src]
fn index_mut<'a>(&self, val: &'a mut Value) -> Option<&'a mut Value>
[src]
impl Index for str
[src]
fn index<'a>(&self, val: &'a Value) -> Option<&'a Value>
[src]
fn index_mut<'a>(&self, val: &'a mut Value) -> Option<&'a mut Value>
[src]
impl Index for String
[src]
fn index<'a>(&self, val: &'a Value) -> Option<&'a Value>
[src]
fn index_mut<'a>(&self, val: &'a mut Value) -> Option<&'a mut Value>
[src]
impl<'s, T: ?Sized> Index for &'s T where
T: Index,
[src]
T: Index,