#[repr(u8)]pub enum Reg8 {
B = 0,
C = 1,
D = 2,
E = 3,
H = 4,
L = 5,
A = 7,
}
Expand description
An enum of 8-bit registers.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Reg8
impl PartialEq for Reg8
impl Copy for Reg8
impl Eq for Reg8
impl StructuralPartialEq for Reg8
Auto Trait Implementations§
impl RefUnwindSafe for Reg8
impl Send for Reg8
impl Sync for Reg8
impl Unpin for Reg8
impl UnwindSafe for Reg8
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