pub trait FieldBufferMut<'a>: FieldBuffer<'a> + AsMut<[JsonField<'a, 'a>]> {
// Provided method
fn as_json_object_mut(&mut self) -> JsonObject<&mut Self> { ... }
}Expand description
this trait is automatically implemented for all types that implement AsMut<[JsonField<’data,’data>]>
Provided Methods§
Sourcefn as_json_object_mut(&mut self) -> JsonObject<&mut Self>
fn as_json_object_mut(&mut self) -> JsonObject<&mut Self>
convenience one-liner to wrap a mutable reference to a collection of JsonFields with a JsonObject
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.