Struct crossbeam_channel::flavors::list::Position
source · struct Position<T> {
index: AtomicUsize,
block: AtomicPtr<Block<T>>,
}
Expand description
A position in a channel.
Fields§
§index: AtomicUsize
The index in the channel.
block: AtomicPtr<Block<T>>
The block in the linked list.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Position<T>
impl<T> RefUnwindSafe for Position<T>
impl<T> Send for Position<T>
impl<T> Sync for Position<T>
impl<T> Unpin for Position<T>
impl<T> !UnwindSafe for Position<T>
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