Enum z80emu::CpuDebugArgs
source · pub enum CpuDebugArgs {
None,
Single(CpuDebugArg),
Double(CpuDebugArg, CpuDebugArg),
BitOpExt(u32, CpuDebugArg, Reg8),
}
Expand description
An enum holding the command arguments.
Variants§
None
The command had no arguments.
Single(CpuDebugArg)
The command had a single argument.
Double(CpuDebugArg, CpuDebugArg)
The command had two arguments.
BitOpExt(u32, CpuDebugArg, Reg8)
Some undocumented variants of SET and RES require 3 arguments. The first argument is a bit number and the last is a register the result is being stored in.
Trait Implementations§
source§impl Clone for CpuDebugArgs
impl Clone for CpuDebugArgs
source§fn clone(&self) -> CpuDebugArgs
fn clone(&self) -> CpuDebugArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CpuDebugArgs
impl Debug for CpuDebugArgs
source§impl Default for CpuDebugArgs
impl Default for CpuDebugArgs
source§fn default() -> CpuDebugArgs
fn default() -> CpuDebugArgs
Returns the “default value” for a type. Read more
source§impl Display for CpuDebugArgs
impl Display for CpuDebugArgs
source§impl Hash for CpuDebugArgs
impl Hash for CpuDebugArgs
source§impl LowerHex for CpuDebugArgs
impl LowerHex for CpuDebugArgs
source§impl PartialEq for CpuDebugArgs
impl PartialEq for CpuDebugArgs
source§fn eq(&self, other: &CpuDebugArgs) -> bool
fn eq(&self, other: &CpuDebugArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for CpuDebugArgs
impl UpperHex for CpuDebugArgs
impl Copy for CpuDebugArgs
impl Eq for CpuDebugArgs
impl StructuralPartialEq for CpuDebugArgs
Auto Trait Implementations§
impl RefUnwindSafe for CpuDebugArgs
impl Send for CpuDebugArgs
impl Sync for CpuDebugArgs
impl Unpin for CpuDebugArgs
impl UnwindSafe for CpuDebugArgs
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