[][src]Enum olympia_core::registers::StackRegister

pub enum StackRegister {
    BC,
    DE,
    HL,
    SP,
}

Registers group that includes the stack register

This is mainly used for operations that do not operate on the stack, such as 16-bit transfers. This is because the stack target is implicit in operations that do operate on the stack

Variants

BC
DE
HL
SP

Trait Implementations

impl Clone for StackRegister[src]

impl Copy for StackRegister[src]

impl Debug for StackRegister[src]

impl Eq for StackRegister[src]

impl From<StackRegister> for WordRegister[src]

impl PartialEq<StackRegister> for StackRegister[src]

impl StructuralEq for StackRegister[src]

impl StructuralPartialEq for StackRegister[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, 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.