#[repr(C)]pub struct RawRingBuffer<T = Descriptor> {
pub write_index: AtomicU32,
pub read_index: AtomicU32,
pub descriptors: [T; 512],
}
Fields§
§write_index: AtomicU32
§read_index: AtomicU32
§descriptors: [T; 512]
Trait Implementations§
Auto Trait Implementations§
impl<T = Descriptor> !Freeze for RawRingBuffer<T>
impl<T> RefUnwindSafe for RawRingBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for RawRingBuffer<T>where
T: Send,
impl<T> Sync for RawRingBuffer<T>where
T: Sync,
impl<T> Unpin for RawRingBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for RawRingBuffer<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more