Enum rustzx_z80::RegName8[][src]

pub enum RegName8 {
Show 14 variants A, F, B, C, D, E, H, L, IXH, IXL, IYH, IYL, I, R,
}
Expand description

8-bit register names

Variants

A
F
B
C
D
E
H
L
IXH
IXL
IYH
IYL
I
R

Implementations

Returns 8 bit general purpose register name from code.

Failures

Returns None if code equals 0b110 (Indirect)

Returns 8-bit register name for prefixed opcode version

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.