pub enum Event {
Hook {
address: u32,
},
Instruction {
ins: Rc<dyn Instruction>,
},
Reset,
Break(u8),
DebugHint(u8),
}Expand description
Possible events returned during processor execution.
Variants§
Hook
Instruction
Successful emulation of an instruction.
Fields
§
ins: Rc<dyn Instruction>Reset
CPU reset.
Break(u8)
DebugHint(u8)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl !RefUnwindSafe for Event
impl !Send for Event
impl !Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
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