Struct hazardflow_designs::std::combinators::fifo::FifoS
source · pub struct FifoS<P: Copy, const N: usize> {
pub inner: Array<P, N>,
pub raddr: U<{ _ }>,
pub waddr: U<{ _ }>,
pub len: U<{ _ }>,
}
Expand description
State for N
-sized FIFO.
Fields§
§inner: Array<P, N>
Inner elements.
raddr: U<{ _ }>
Read address.
waddr: U<{ _ }>
Write address.
len: U<{ _ }>
Length.
Implementations§
Trait Implementations§
impl<P: Copy + Copy, const N: usize> Copy for FifoS<P, N>
Auto Trait Implementations§
impl<P, const N: usize> RefUnwindSafe for FifoS<P, N>where
P: RefUnwindSafe,
impl<P, const N: usize> Send for FifoS<P, N>where
P: Send,
impl<P, const N: usize> Sync for FifoS<P, N>where
P: Sync,
impl<P, const N: usize> Unpin for FifoS<P, N>where
P: Unpin,
impl<P, const N: usize> UnwindSafe for FifoS<P, N>where
P: UnwindSafe,
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