pub trait MemoryExtension: Debug {
// Provided method
fn read_opcode<M: ZxMemory>(&mut self, pc: u16, memory: &mut M) -> u8 { ... }
}Expand description
An interface for memory paging extensions of ZxMemory.
Provide an implementation as the associated type crate::chip::MemoryAccess::MemoryExt.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.