Enum dez80::register::RegisterOrder
source · pub enum RegisterOrder {
High,
Low,
}
Expand description
Represents the order of a given register in a pair.
For example, RegisterPairType::AF
includes the
registers SingleRegisterType::A
and
SingleRegisterType::F
, which are high and low
within the pair respectively.
Variants§
Trait Implementations§
source§impl Clone for RegisterOrder
impl Clone for RegisterOrder
source§fn clone(&self) -> RegisterOrder
fn clone(&self) -> RegisterOrder
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 RegisterOrder
impl Debug for RegisterOrder
source§impl PartialEq for RegisterOrder
impl PartialEq for RegisterOrder
source§fn eq(&self, other: &RegisterOrder) -> bool
fn eq(&self, other: &RegisterOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegisterOrder
impl StructuralPartialEq for RegisterOrder
Auto Trait Implementations§
impl RefUnwindSafe for RegisterOrder
impl Send for RegisterOrder
impl Sync for RegisterOrder
impl Unpin for RegisterOrder
impl UnwindSafe for RegisterOrder
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