pub struct ObjectSerializer<'a, 'b> {
serializer: &'a mut TapeSerializer<'b>,
start: usize,
}
Fields§
§serializer: &'a mut TapeSerializer<'b>
§start: usize
Implementations§
Source§impl<'a, 'b> ObjectSerializer<'a, 'b>
impl<'a, 'b> ObjectSerializer<'a, 'b>
fn new(serializer: &'a mut TapeSerializer<'b>) -> Self
fn finish(self)
Trait Implementations§
Source§impl SerializeMap for ObjectSerializer<'_, '_>
impl SerializeMap for ObjectSerializer<'_, '_>
Source§impl SerializeStruct for ObjectSerializer<'_, '_>
impl SerializeStruct for ObjectSerializer<'_, '_>
Auto Trait Implementations§
impl<'a, 'b> Freeze for ObjectSerializer<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ObjectSerializer<'a, 'b>
impl<'a, 'b> Send for ObjectSerializer<'a, 'b>
impl<'a, 'b> Sync for ObjectSerializer<'a, 'b>
impl<'a, 'b> Unpin for ObjectSerializer<'a, 'b>
impl<'a, 'b> !UnwindSafe for ObjectSerializer<'a, 'b>
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