simd_json::base

Trait ValueAsMutArray

Source
pub trait ValueAsMutArray {
    type Array;

    // Required method
    fn as_array_mut(&mut self) -> Option<&mut Self::Array>;
}
Expand description

Mutatability for Array values

Required Associated Types§

Source

type Array

The type for Arrays

Required Methods§

Source

fn as_array_mut(&mut self) -> Option<&mut Self::Array>

Tries to represent the value as an array and returns a mutable reference to it

Implementors§

Source§

impl ValueAsMutArray for simd_json::owned::Value

Source§

impl<'borrow, 'tape, 'input> ValueAsMutArray for simd_json::lazy::Value<'borrow, 'tape, 'input>

Source§

type Array = Vec<Value<'input>>

Source§

impl<'value> ValueAsMutArray for simd_json::borrowed::Value<'value>

Source§

type Array = Vec<Value<'value>>