Struct runes::ppu::PPU [−][src]
Fields
scanline: u16
cycle: u16
vblank_lines: bool
scr: &'a mut dyn Screen
Implementations
impl<'a> PPU<'a>
[src]
pub fn write_ctl(&mut self, data: u8)
[src]
pub fn write_mask(&mut self, data: u8)
[src]
pub fn read_status(&mut self) -> u8
[src]
pub fn write_oamaddr(&mut self, data: u8)
[src]
pub fn write_oamdata(&mut self, data: u8)
[src]
pub fn read_oamdata(&self) -> u8
[src]
pub fn write_scroll(&mut self, data: u8)
[src]
pub fn write_addr(&mut self, data: u8)
[src]
pub fn read_data(&mut self) -> u8
[src]
pub fn write_data(&mut self, data: u8)
[src]
pub fn write_oamdma(&mut self, data: u8, bus: &CPUBus<'_>)
[src]
pub fn get_flag_nmi(&self) -> bool
[src]
pub fn get_show_bg(&self) -> bool
[src]
pub fn get_show_sp(&self) -> bool
[src]
pub fn new(mem: PPUMemory<'a>, scr: &'a mut dyn Screen) -> Self
[src]
pub fn load(&mut self, reader: &mut dyn Read) -> bool
[src]
pub fn save(&self, writer: &mut dyn Write) -> bool
[src]
pub fn reset(&mut self)
[src]
pub fn try_nmi(&mut self) -> bool
[src]
pub fn tick(&mut self, bus: &CPUBus<'_>) -> bool
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,