pub enum TickResult {
Ok,
Break,
Debug,
Halt,
Stop,
InvalidOpcode,
}
Expand description
A tick’s possible results.
Variants§
Ok
Nothing noteworthy happened.
Break
A ld b, b
instruction was executed.
Debug
A ld d, d
instruction was executed.
Halt
A halt
instruction was executed.
Stop
A stop
instruction was executed.
InvalidOpcode
An invalid opcode was executed.
Trait Implementations§
Source§impl Debug for TickResult
impl Debug for TickResult
Source§impl PartialEq for TickResult
impl PartialEq for TickResult
impl Eq for TickResult
impl StructuralPartialEq for TickResult
Auto Trait Implementations§
impl Freeze for TickResult
impl RefUnwindSafe for TickResult
impl Send for TickResult
impl Sync for TickResult
impl Unpin for TickResult
impl UnwindSafe for TickResult
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