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§