Enum serde_json::read::Reference
source · pub enum Reference<'b, 'c, T>where
T: ?Sized + 'static,{
Borrowed(&'b T),
Copied(&'c T),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'b, 'c, T> Freeze for Reference<'b, 'c, T>where
T: ?Sized,
impl<'b, 'c, T> RefUnwindSafe for Reference<'b, 'c, T>where
T: RefUnwindSafe + ?Sized,
impl<'b, 'c, T> Send for Reference<'b, 'c, T>
impl<'b, 'c, T> Sync for Reference<'b, 'c, T>
impl<'b, 'c, T> Unpin for Reference<'b, 'c, T>where
T: ?Sized,
impl<'b, 'c, T> UnwindSafe for Reference<'b, 'c, 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