pub trait Index {
// Required methods
fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>;
fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>;
fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value;
}Required Methods§
fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>
fn index_into_mut<'v>(&self, v: &'v mut Value) -> Option<&'v mut Value>
fn index_or_insert<'v>(&self, v: &'v mut Value) -> &'v mut Value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".