Struct hazardflow_designs::gemmini::sram::dma::RequestReturned
source · pub struct RequestReturned<const NCMDS: usize, const MAX_BYTES: usize> {
pub bytes_read: U<{ _ }>,
pub cmd_id: U<{ _ }>,
}
Expand description
DMA Read Response
This struct is used in load
module
Fields§
§bytes_read: U<{ _ }>
Number of bytes to read.
cmd_id: U<{ _ }>
Command ID.
Trait Implementations§
source§impl<const NCMDS: usize, const MAX_BYTES: usize> Clone for RequestReturned<NCMDS, MAX_BYTES>
impl<const NCMDS: usize, const MAX_BYTES: usize> Clone for RequestReturned<NCMDS, MAX_BYTES>
source§fn clone(&self) -> RequestReturned<NCMDS, MAX_BYTES>
fn clone(&self) -> RequestReturned<NCMDS, MAX_BYTES>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<const NCMDS: usize, const MAX_BYTES: usize> Copy for RequestReturned<NCMDS, MAX_BYTES>
Auto Trait Implementations§
impl<const NCMDS: usize, const MAX_BYTES: usize> RefUnwindSafe for RequestReturned<NCMDS, MAX_BYTES>
impl<const NCMDS: usize, const MAX_BYTES: usize> Send for RequestReturned<NCMDS, MAX_BYTES>
impl<const NCMDS: usize, const MAX_BYTES: usize> Sync for RequestReturned<NCMDS, MAX_BYTES>
impl<const NCMDS: usize, const MAX_BYTES: usize> Unpin for RequestReturned<NCMDS, MAX_BYTES>
impl<const NCMDS: usize, const MAX_BYTES: usize> UnwindSafe for RequestReturned<NCMDS, MAX_BYTES>
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