struct Position<T> {
    index: AtomicUsize,
    block: AtomicPtr<Block<T>>,
}Expand description
A position in a channel.
Fields§
§index: AtomicUsizeThe 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