pub struct EventRec {
pub kind: EventKind,
pub scanline: i16,
pub dot: u16,
pub addr: u16,
pub value: u8,
}Expand description
One event-viewer record: kind + the PPU (scanline, dot) + the address +
(v1.5.0 A2) the byte read or written.
Fields§
§kind: EventKindWhat happened.
scanline: i16PPU scanline at the event (-1 = pre-render, 0..=239 visible, …).
dot: u16PPU dot (0..=340).
addr: u16The accessed address.
value: u8The byte written, or the byte the read returned (v1.5.0 Workstream A2).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventRec
impl RefUnwindSafe for EventRec
impl Send for EventRec
impl Sync for EventRec
impl Unpin for EventRec
impl UnsafeUnpin for EventRec
impl UnwindSafe for EventRec
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