pub struct CpuDebugSnapshot {
pub a: u8,
pub x: u8,
pub y: u8,
pub sp: u8,
pub pc: u16,
pub status: u8,
pub clocks: u64,
pub cycles_remaining: u64,
pub instruction_counter: u64,
pub irq_pending: bool,
pub nmi_line: bool,
}Fields§
§a: u8§x: u8§y: u8§sp: u8§pc: u16§status: u8§clocks: u64§cycles_remaining: u64§instruction_counter: u64§irq_pending: bool§nmi_line: boolTrait Implementations§
Source§impl Clone for CpuDebugSnapshot
impl Clone for CpuDebugSnapshot
Source§fn clone(&self) -> CpuDebugSnapshot
fn clone(&self) -> CpuDebugSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CpuDebugSnapshot
Source§impl Debug for CpuDebugSnapshot
impl Debug for CpuDebugSnapshot
impl Eq for CpuDebugSnapshot
Source§impl PartialEq for CpuDebugSnapshot
impl PartialEq for CpuDebugSnapshot
Source§fn eq(&self, other: &CpuDebugSnapshot) -> bool
fn eq(&self, other: &CpuDebugSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CpuDebugSnapshot
Auto Trait Implementations§
impl Freeze for CpuDebugSnapshot
impl RefUnwindSafe for CpuDebugSnapshot
impl Send for CpuDebugSnapshot
impl Sync for CpuDebugSnapshot
impl Unpin for CpuDebugSnapshot
impl UnsafeUnpin for CpuDebugSnapshot
impl UnwindSafe for CpuDebugSnapshot
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