Skip to main content

Index

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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§