pub struct ArrayGuard<'a> { /* private fields */ }Expand description
A guard object for writing an array.
Implementations§
source§impl<'a> ArrayGuard<'a>
impl<'a> ArrayGuard<'a>
sourcepub fn elem(&mut self, value: &dyn JsonSerialize) -> &mut Self
pub fn elem(&mut self, value: &dyn JsonSerialize) -> &mut Self
Writes an element to the array.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ArrayGuard<'a>
impl<'a> RefUnwindSafe for ArrayGuard<'a>
impl<'a> Send for ArrayGuard<'a>
impl<'a> Sync for ArrayGuard<'a>
impl<'a> Unpin for ArrayGuard<'a>
impl<'a> !UnwindSafe for ArrayGuard<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more