[−][src]Trait spectrusty_core::chip::MemoryAccess
A trait for directly accessing an emulated memory implementation and memory extensions.
Associated Types
Loading content...Required methods
pub fn memory_ext_ref(&self) -> &Self::MemoryExt
[src]
Returns a read-only reference to the memory extension.
pub fn memory_ext_mut(&mut self) -> &mut Self::MemoryExt
[src]
Returns a mutable reference to the memory extension.
pub fn memory_ref(&self) -> &Self::Memory
[src]
Returns a reference to the memory.
pub fn memory_mut(&mut self) -> &mut Self::Memory
[src]
Returns a mutable reference to the memory.
pub fn memory_with_ext_mut(
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
[src]
&mut self
) -> (&mut Self::Memory, &mut Self::MemoryExt)
Returns mutable references to both the memory and the memory extension.