pub struct Owned<'buf, T: ?Sized> { /* private fields */ }
Expand description
An owned value in borrowed backing memory.
Implementations§
Trait Implementations§
impl<T: Send + ?Sized> Send for Owned<'_, T>
impl<T: Sync + ?Sized> Sync for Owned<'_, T>
Auto Trait Implementations§
impl<'buf, T> Freeze for Owned<'buf, T>where
T: ?Sized,
impl<'buf, T> RefUnwindSafe for Owned<'buf, T>where
T: RefUnwindSafe + ?Sized,
impl<'buf, T> Unpin for Owned<'buf, T>where
T: ?Sized,
impl<'buf, T> !UnwindSafe for Owned<'buf, 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