Enum moa_z80::instructions::RegisterPair
source · pub enum RegisterPair {
BC,
DE,
HL,
AF,
SP,
IX,
IY,
}
Variants§
Implementations§
source§impl RegisterPair
impl RegisterPair
pub(crate) fn is_index_reg(&self) -> bool
Trait Implementations§
source§impl Clone for RegisterPair
impl Clone for RegisterPair
source§fn clone(&self) -> RegisterPair
fn clone(&self) -> RegisterPair
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 RegisterPair
impl Debug for RegisterPair
source§impl From<IndexRegister> for RegisterPair
impl From<IndexRegister> for RegisterPair
source§fn from(value: IndexRegister) -> Self
fn from(value: IndexRegister) -> Self
Converts to this type from the input type.
source§impl PartialEq for RegisterPair
impl PartialEq for RegisterPair
source§fn eq(&self, other: &RegisterPair) -> bool
fn eq(&self, other: &RegisterPair) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegisterPair
impl Eq for RegisterPair
impl StructuralPartialEq for RegisterPair
Auto Trait Implementations§
impl Freeze for RegisterPair
impl RefUnwindSafe for RegisterPair
impl Send for RegisterPair
impl Sync for RegisterPair
impl Unpin for RegisterPair
impl UnwindSafe for RegisterPair
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
source§impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T