Struct crossbeam_deque::deque::Inner
source · struct Inner<T> {
front: AtomicIsize,
back: AtomicIsize,
buffer: CachePadded<Atomic<Buffer<T>>>,
}
Expand description
Internal queue data shared between the worker and stealers.
The implementation is based on the following work:
Fields§
§front: AtomicIsize
The front index.
back: AtomicIsize
The back index.
buffer: CachePadded<Atomic<Buffer<T>>>
The underlying buffer.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Inner<T>
impl<T> RefUnwindSafe for Inner<T>where
T: RefUnwindSafe,
impl<T> !Send for Inner<T>
impl<T> !Sync for Inner<T>
impl<T> Unpin for Inner<T>
impl<T> UnwindSafe for Inner<T>where
T: RefUnwindSafe,
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