pub struct PpuDebugView {}Expand description
Snapshot of PPU state.
Fields§
§dot: u16Current dot (0..=340).
scanline: i16Current scanline.
frame: u64Current frame count.
ctrl: u8PPUCTRL ($2000) snapshot.
mask: u8PPUMASK ($2001) snapshot.
status: u8PPUSTATUS ($2002) snapshot.
oam_addr: u8OAMADDR ($2003) snapshot.
v: u16Loopy v register.
t: u16Loopy t register.
fine_x: u8Fine X scroll.
w_toggle: boolWrite toggle (w).
sprite_size_16: bool8x16 sprites enabled.
bg_pattern_base: u16Background pattern table base (0 or 0x1000).
sprite_pattern_base: u16Sprite pattern table base (0 or 0x1000).
nmi_line: boolNMI line currently asserted.
Trait Implementations§
Source§impl Clone for PpuDebugView
impl Clone for PpuDebugView
Source§fn clone(&self) -> PpuDebugView
fn clone(&self) -> PpuDebugView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PpuDebugView
impl RefUnwindSafe for PpuDebugView
impl Send for PpuDebugView
impl Sync for PpuDebugView
impl Unpin for PpuDebugView
impl UnsafeUnpin for PpuDebugView
impl UnwindSafe for PpuDebugView
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