pub struct Box<T, STATE = Init> { /* private fields */ }
Expand description
A memory block
Implementations§
Trait Implementations§
source§impl<T> Ord for Box<T>where
T: Ord,
impl<T> Ord for Box<T>where
T: Ord,
source§impl<T> PartialOrd for Box<T>where
T: PartialOrd,
impl<T> PartialOrd for Box<T>where
T: PartialOrd,
impl<T> Eq for Box<T>where
T: Eq,
impl<T, S> Send for Box<T, S>where
T: Send,
impl<T> StableDeref for Box<T>
impl<T, S> Sync for Box<T, S>where
T: Sync,
Auto Trait Implementations§
impl<T, STATE> Freeze for Box<T, STATE>
impl<T, STATE = Init> !RefUnwindSafe for Box<T, STATE>
impl<T, STATE> Unpin for Box<T, STATE>where
STATE: Unpin,
impl<T, STATE = Init> !UnwindSafe for Box<T, STATE>
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