Enum dez80::register::RegisterPairType
source · pub enum RegisterPairType {
Show 14 variants
AF,
BC,
DE,
HL,
IX,
IY,
PC,
SP,
IR,
WZ,
AF_,
BC_,
DE_,
HL_,
}
Expand description
Used to identify a register pair in an implementation-independent manner.
Variants§
Implementations§
source§impl RegisterPairType
impl RegisterPairType
pub fn to_single_register_types( self ) -> (SingleRegisterType, SingleRegisterType)
Trait Implementations§
source§impl Clone for RegisterPairType
impl Clone for RegisterPairType
source§fn clone(&self) -> RegisterPairType
fn clone(&self) -> RegisterPairType
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 RegisterPairType
impl Debug for RegisterPairType
source§impl Display for RegisterPairType
impl Display for RegisterPairType
source§impl PartialEq for RegisterPairType
impl PartialEq for RegisterPairType
source§fn eq(&self, other: &RegisterPairType) -> bool
fn eq(&self, other: &RegisterPairType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegisterPairType
impl StructuralPartialEq for RegisterPairType
Auto Trait Implementations§
impl RefUnwindSafe for RegisterPairType
impl Send for RegisterPairType
impl Sync for RegisterPairType
impl Unpin for RegisterPairType
impl UnwindSafe for RegisterPairType
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