pub struct MemoryAccess { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AccessMemory for MemoryAccess
impl AccessMemory for MemoryAccess
Source§fn dst_device(&self) -> DeviceId
fn dst_device(&self) -> DeviceId
Return the destination device of this access
Source§fn src_device(&self) -> DeviceId
fn src_device(&self) -> DeviceId
Return the source device of this access
Source§fn cache_hint(&self) -> CacheHintType
fn cache_hint(&self) -> CacheHintType
Returns the requested caching behaviour of a request
Source§fn access_size_bytes(&self) -> usize
fn access_size_bytes(&self) -> usize
Return the size of the access in bytes
Source§fn to_response(&self, _mem: &impl ReadMemory) -> Result<Self, SimError>
fn to_response(&self, _mem: &impl ReadMemory) -> Result<Self, SimError>
Returns the appropriate response for a request
Source§impl Clone for MemoryAccess
impl Clone for MemoryAccess
Source§fn clone(&self) -> MemoryAccess
fn clone(&self) -> MemoryAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryAccess
impl Debug for MemoryAccess
Source§impl Display for MemoryAccess
impl Display for MemoryAccess
Source§impl Routable for MemoryAccess
impl Routable for MemoryAccess
fn destination(&self) -> u64
fn access_type(&self) -> AccessType
impl SimObject for MemoryAccess
Source§impl TotalBytes for MemoryAccess
impl TotalBytes for MemoryAccess
fn total_bytes(&self) -> usize
Source§impl ValueCheck<MemoryAccess> for MemoryAccess
impl ValueCheck<MemoryAccess> for MemoryAccess
fn assert_matches(&self, check_id: &str, actual: &MemoryAccess)
Auto Trait Implementations§
impl !RefUnwindSafe for MemoryAccess
impl !Send for MemoryAccess
impl !Sync for MemoryAccess
impl !UnwindSafe for MemoryAccess
impl Freeze for MemoryAccess
impl Unpin for MemoryAccess
impl UnsafeUnpin for MemoryAccess
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