Struct crossbeam_deque::deque::Slot
source · struct Slot<T> {
task: UnsafeCell<MaybeUninit<T>>,
state: AtomicUsize,
}
Expand description
A slot in a block.
Fields§
§task: UnsafeCell<MaybeUninit<T>>
The task.
state: AtomicUsize
The state of the slot.
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Slot<T>
impl<T> !RefUnwindSafe for Slot<T>
impl<T> Send for Slot<T>where
T: Send,
impl<T> !Sync for Slot<T>
impl<T> Unpin for Slot<T>where
T: Unpin,
impl<T> UnwindSafe for Slot<T>where
T: UnwindSafe,
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