pub struct SerializeAsWrap<'a, T: ?Sized, U: ?Sized> { /* private fields */ }
Expand description
Helper type to implement SerializeAs
for container-like types.
Implementations§
Trait Implementations§
source§impl<'a, T, U> From<&'a T> for SerializeAsWrap<'a, T, U>
impl<'a, T, U> From<&'a T> for SerializeAsWrap<'a, T, U>
source§impl<T, U> Serialize for SerializeAsWrap<'_, T, U>
impl<T, U> Serialize for SerializeAsWrap<'_, T, U>
Auto Trait Implementations§
impl<'a, T, U> Freeze for SerializeAsWrap<'a, T, U>
impl<'a, T, U> RefUnwindSafe for SerializeAsWrap<'a, T, U>
impl<'a, T, U> Send for SerializeAsWrap<'a, T, U>
impl<'a, T, U> Sync for SerializeAsWrap<'a, T, U>
impl<'a, T, U> Unpin for SerializeAsWrap<'a, T, U>
impl<'a, T, U> UnwindSafe for SerializeAsWrap<'a, T, U>
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