#[repr(transparent)]pub struct Box<T>(_);
Available on crate feature
alloc
only.Expand description
Implementations
Trait Implementations
sourceimpl<T> ReprC for Box<T> where
NonNullOwned<T>: ReprC,
impl<T> ReprC for Box<T> where
NonNullOwned<T>: ReprC,
impl<T> Send for Box<T> where
Box<T>: Send,
impl<T> Sync for Box<T> where
Box<T>: Sync,
Auto Trait Implementations
impl<T> RefUnwindSafe for Box<T> where
T: RefUnwindSafe,
impl<T> Unpin for Box<T> where
T: Unpin,
impl<T> UnwindSafe for Box<T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more