pub struct ProgramCounter {
pub reg: u16,
pub should_increment: bool,
pub current_instruction_width: u16,
pub current_instruction_cycles: u8,
}Fields§
§reg: u16§should_increment: bool§current_instruction_width: u16§current_instruction_cycles: u8Trait Implementations§
Source§impl Clone for ProgramCounter
impl Clone for ProgramCounter
impl Copy for ProgramCounter
Auto Trait Implementations§
impl Freeze for ProgramCounter
impl RefUnwindSafe for ProgramCounter
impl Send for ProgramCounter
impl Sync for ProgramCounter
impl Unpin for ProgramCounter
impl UnsafeUnpin for ProgramCounter
impl UnwindSafe for ProgramCounter
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