Trait serde_yaml::Index[][src]

pub trait Index: Sealed { }
Expand description

A type that can be used to index into a serde_yaml::Value. See the get and get_mut methods of Value.

This trait is sealed and cannot be implemented for types outside of serde_yaml.

Implementations on Foreign Types

impl Index for usize[src]

fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>[src]

fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>[src]

fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value[src]

impl Index for str[src]

fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>[src]

fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>[src]

fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value[src]

impl Index for String[src]

fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>[src]

fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>[src]

fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value[src]

impl<'a, T: ?Sized> Index for &'a T where
    T: Index
[src]

fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>[src]

fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>[src]

fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value[src]

Implementors

impl Index for Value[src]

fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>[src]

fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>[src]

fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value[src]