Struct serde::seed::InPlaceSeed
source · pub struct InPlaceSeed<'a, T: 'a>(pub &'a mut T);
Expand description
A DeserializeSeed helper for implementing deserialize_in_place Visitors.
Wraps a mutable reference and calls deserialize_in_place on it.
Tuple Fields§
§0: &'a mut T
Trait Implementations§
source§impl<'a, 'de, T> DeserializeSeed<'de> for InPlaceSeed<'a, T>where
T: Deserialize<'de>,
impl<'a, 'de, T> DeserializeSeed<'de> for InPlaceSeed<'a, T>where
T: Deserialize<'de>,
Auto Trait Implementations§
impl<'a, T> Freeze for InPlaceSeed<'a, T>
impl<'a, T> RefUnwindSafe for InPlaceSeed<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for InPlaceSeed<'a, T>where
T: Send,
impl<'a, T> Sync for InPlaceSeed<'a, T>where
T: Sync,
impl<'a, T> Unpin for InPlaceSeed<'a, T>
impl<'a, T> !UnwindSafe for InPlaceSeed<'a, T>
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