simd_json::prelude::derived

Trait MutableValueArrayAccess

source
pub trait MutableValueArrayAccess<I> {
    type Target: ?Sized;

    // Required method
    fn get_idx_mut(&mut self, i: I) -> Option<&mut Self::Target>;
}
Expand description

Mutatability for array like values

Required Associated Types§

source

type Target: ?Sized

The type for Array Values

Required Methods§

source

fn get_idx_mut(&mut self, i: I) -> Option<&mut Self::Target>

Same as get_idx but returns a mutable ref instead

Implementors§