pub trait Ppu {
// Required methods
fn read_ppu(&mut self, addr: u16) -> u8;
fn write_ppu(&mut self, addr: u16, data: u8);
fn mode(&self) -> Mode;
}
pub trait Ppu {
// Required methods
fn read_ppu(&mut self, addr: u16) -> u8;
fn write_ppu(&mut self, addr: u16, data: u8);
fn mode(&self) -> Mode;
}