pub enum Reg16 {
AF = 0,
BC = 2,
DE = 4,
HL = 6,
IX = 10,
IY = 12,
SP = 14,
}
Expand description
16 bit registers, composed from 8 bit registers
Variants§
AF = 0
16 bit register AF
BC = 2
16 bit register BC
DE = 4
16 bit register DE
HL = 6
16 bit register HL
IX = 10
16 bit register IX
IY = 12
16 bit register IY
SP = 14
16 bit register SP
Trait Implementations§
source§impl PartialEq for Reg16
impl PartialEq for Reg16
impl Copy for Reg16
impl Eq for Reg16
impl StructuralEq for Reg16
impl StructuralPartialEq for Reg16
Auto Trait Implementations§
impl RefUnwindSafe for Reg16
impl Send for Reg16
impl Sync for Reg16
impl Unpin for Reg16
impl UnwindSafe for Reg16
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