pub trait ValueIndex: Sealed {
// Required methods
fn index_into(self, value: &Value) -> Option<&Value>;
fn index_into_mut(self, value: &mut Value) -> Option<&mut Value>;
}Expand description
Index accepted by Value::get and Value::get_mut.
Required Methods§
fn index_into(self, value: &Value) -> Option<&Value>
fn index_into_mut(self, value: &mut Value) -> Option<&mut Value>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".