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