simd_json::value::prelude

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>>