Enum moa_z80::instructions::IndexRegister
source · pub enum IndexRegister {
IX,
IY,
}
Variants§
Trait Implementations§
source§impl Clone for IndexRegister
impl Clone for IndexRegister
source§fn clone(&self) -> IndexRegister
fn clone(&self) -> IndexRegister
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 IndexRegister
impl Debug for IndexRegister
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 IndexRegister
impl PartialEq for IndexRegister
source§fn eq(&self, other: &IndexRegister) -> bool
fn eq(&self, other: &IndexRegister) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IndexRegister
impl Eq for IndexRegister
impl StructuralPartialEq for IndexRegister
Auto Trait Implementations§
impl Freeze for IndexRegister
impl RefUnwindSafe for IndexRegister
impl Send for IndexRegister
impl Sync for IndexRegister
impl Unpin for IndexRegister
impl UnwindSafe for IndexRegister
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