Trait Index

Source
pub trait Index {
    // Required method
    fn index<'a>(&self, v: &'a Value) -> &'a Value;
}

Required Methods§

Source

fn index<'a>(&self, v: &'a Value) -> &'a Value

Implementations on Foreign Types§

Source§

impl Index for str

Source§

fn index<'a>(&self, v: &'a Value) -> &'a Value

Source§

impl Index for usize

Source§

fn index<'a>(&self, v: &'a Value) -> &'a Value

Source§

impl Index for String

Source§

fn index<'a>(&self, v: &'a Value) -> &'a Value

Source§

impl<T: Index + ?Sized> Index for &T

Source§

fn index<'a>(&self, v: &'a Value) -> &'a Value

Implementors§