pub struct Ppu { /* private fields */ }Implementations§
Source§impl Ppu
impl Ppu
pub fn new() -> Self
pub fn reset(&mut self)
pub fn take_vblank_nmi_set_state(&mut self) -> bool
pub fn write(&mut self, bus: &mut PpuBus<'_>, addr: u16, data: u8)
pub fn write_oam_dma(&mut self, buffer: &[u8; 256])
pub fn read(&mut self, bus: &mut PpuBus<'_>, addr: u16) -> u8
pub fn ready_frame(&mut self) -> Option<&[u8; 61440]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ppu
impl RefUnwindSafe for Ppu
impl Send for Ppu
impl Sync for Ppu
impl Unpin for Ppu
impl UnwindSafe for Ppu
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