Trait Index

Source
pub trait Index: Sealed { }
Expand description

A type that can be used to index into a Value.

You can use Rust’s regular indexing syntax to access components of Values. Refer to the examples on Value for details.

This trait can not be implemented by custom types.

Implementations on Foreign Types§

Source§

impl Index for str

Source§

impl Index for usize

Source§

impl Index for String

Source§

impl<'a, I> Index for &'a I
where I: Index + ?Sized,

Implementors§