pub struct DumpSerialize<'a, T: ?Sized>(pub &'a T, pub &'a DumpOptions);Expand description
Borrowed Serde adapter that preserves a value’s Dump implementation.
Tuple Fields§
§0: &'a T§1: &'a DumpOptionsTrait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for DumpSerialize<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for DumpSerialize<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for DumpSerialize<'a, T>
impl<'a, T> Sync for DumpSerialize<'a, T>
impl<'a, T> Unpin for DumpSerialize<'a, T>where
T: ?Sized,
impl<'a, T> UnsafeUnpin for DumpSerialize<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for DumpSerialize<'a, T>where
T: RefUnwindSafe + ?Sized,
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