Enum z80emu::CpuDebugPort
source · pub enum CpuDebugPort {
ImmPort(u8),
RegPort,
}
Expand description
An I/O port address.
Variants§
Trait Implementations§
source§impl Clone for CpuDebugPort
impl Clone for CpuDebugPort
source§fn clone(&self) -> CpuDebugPort
fn clone(&self) -> CpuDebugPort
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 CpuDebugPort
impl Debug for CpuDebugPort
source§impl Display for CpuDebugPort
impl Display for CpuDebugPort
source§impl Hash for CpuDebugPort
impl Hash for CpuDebugPort
source§impl LowerHex for CpuDebugPort
impl LowerHex for CpuDebugPort
source§impl PartialEq for CpuDebugPort
impl PartialEq for CpuDebugPort
source§fn eq(&self, other: &CpuDebugPort) -> bool
fn eq(&self, other: &CpuDebugPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for CpuDebugPort
impl UpperHex for CpuDebugPort
impl Copy for CpuDebugPort
impl Eq for CpuDebugPort
impl StructuralPartialEq for CpuDebugPort
Auto Trait Implementations§
impl RefUnwindSafe for CpuDebugPort
impl Send for CpuDebugPort
impl Sync for CpuDebugPort
impl Unpin for CpuDebugPort
impl UnwindSafe for CpuDebugPort
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