pub struct Fifo<const N: usize> {
buf: [u32; N],
head: usize,
tail: usize,
size: usize,
}Expand description
OSのイベント受信用FIFOリングバッファ
Fields§
§buf: [u32; N]§head: usize§tail: usize§size: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for Fifo<N>
impl<const N: usize> RefUnwindSafe for Fifo<N>
impl<const N: usize> Send for Fifo<N>
impl<const N: usize> Sync for Fifo<N>
impl<const N: usize> Unpin for Fifo<N>
impl<const N: usize> UnsafeUnpin for Fifo<N>
impl<const N: usize> UnwindSafe for Fifo<N>
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