#[repr(u8)]pub enum Reg16 {
BC = 0,
DE = 16,
HL = 32,
SP = 48,
}
Expand description
An enum of 16-bit registers.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Reg16
impl PartialEq for Reg16
impl Copy for Reg16
impl Eq 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