pub struct Box<'a, A: ?Sized + DropPtr>(/* private fields */);
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> Freeze for Box<'a, A>where
A: ?Sized,
impl<'a, A> RefUnwindSafe for Box<'a, A>where
A: RefUnwindSafe + ?Sized,
impl<'a, A> !Send for Box<'a, A>
impl<'a, A> !Sync for Box<'a, A>
impl<'a, A> Unpin for Box<'a, A>where
A: ?Sized,
impl<'a, A> !UnwindSafe for Box<'a, A>
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