value_trait::derivedTrait ValueArrayAccess
source pub trait ValueArrayAccess<I> {
type Target: ?Sized;
// Required method
fn get_idx(&self, i: I) -> Option<&Self::Target>;
}
Expand description
Access to a value as an array
The target for nested lookups
Gets a ref to a value based on n index, returns None
if the
current Value isn’t an Array or doesn’t contain the index
it was asked for.