Trait simd_json::value::prelude::ValueAsMutContainer
source · pub trait ValueAsMutContainer {
type Array;
type Object;
// Required methods
fn as_array_mut(&mut self) -> Option<&mut Self::Array>;
fn as_object_mut(&mut self) -> Option<&mut Self::Object>;
}
Expand description
Mutatability for container values
Required Associated Types§
Required Methods§
sourcefn as_array_mut(&mut self) -> Option<&mut Self::Array>
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
sourcefn as_object_mut(&mut self) -> Option<&mut Self::Object>
fn as_object_mut(&mut self) -> Option<&mut Self::Object>
Tries to represent the value as an object and returns a mutable reference to it