#[repr(C, align(64))]pub struct IndexQueue {
pub head: IndexbusAtomicU64,
pub tail: IndexbusAtomicU64,
pub buf: [u32; 1024],
}Expand description
Single-producer/single-consumer index queue.
Fields§
§head: IndexbusAtomicU64Producer cursor.
tail: IndexbusAtomicU64Consumer cursor.
buf: [u32; 1024]Ring buffer of slot indices.
Auto Trait Implementations§
impl !Freeze for IndexQueue
impl !RefUnwindSafe for IndexQueue
impl Send for IndexQueue
impl Sync for IndexQueue
impl Unpin for IndexQueue
impl UnwindSafe for IndexQueue
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