pub struct MemArray(/* private fields */);Expand description
Memory array.
This can be addressed with any u16 (16-bit address).
This memory array does expose memory locations 0xFE00-0xFFFF,
however they are not accessible through normal Simulator operation
(i.e., via Simulator::read_mem) and Simulator::write_mem.
They can be read and edited via the typical Index traits.
If you wish to see the handling of memory-mapped IO, see the above
Simulator methods.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemArray
impl RefUnwindSafe for MemArray
impl Send for MemArray
impl Sync for MemArray
impl Unpin for MemArray
impl UnwindSafe for MemArray
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