[][src]Enum cpclib_asm::preamble::Register8

pub enum Register8 {
    A,
    B,
    C,
    D,
    E,
    H,
    L,
}

Variants

A
B
C
D
E
H
L

Methods

impl Register8[src]

pub fn is_high(self) -> bool[src]

pub fn is_low(self) -> bool[src]

pub fn neighbourg(self) -> Option<Register8>[src]

pub fn complete(self) -> Register16[src]

Return the 16bit register than contains this one

impl Register8[src]

pub fn is_a(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_b(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_c(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_d(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_e(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_h(&self) -> bool[src]

Check if register is $reg

impl Register8[src]

pub fn is_l(&self) -> bool[src]

Check if register is $reg

Trait Implementations

impl Clone for Register8[src]

impl Copy for Register8[src]

impl Debug for Register8[src]

impl Display for Register8[src]

impl Eq for Register8[src]

impl From<Register8> for DataAccess[src]

impl Hash for Register8[src]

impl PartialEq<Register8> for Register8[src]

impl PartialOrd<Register8> for Register8[src]

impl StructuralEq for Register8[src]

impl StructuralPartialEq for Register8[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.