[][src]Struct mos6502::registers::Registers

pub struct Registers {
    pub accumulator: i8,
    pub index_x: i8,
    pub index_y: i8,
    pub stack_pointer: StackPointer,
    pub program_counter: Address,
    pub status: Status,
}

Fields

accumulator: i8index_x: i8index_y: i8stack_pointer: StackPointerprogram_counter: Addressstatus: Status

Implementations

impl Registers[src]

pub fn new() -> Registers[src]

Trait Implementations

impl Clone for Registers[src]

impl Copy for Registers[src]

impl Debug for Registers[src]

impl Eq for Registers[src]

impl PartialEq<Registers> for Registers[src]

impl StructuralEq for Registers[src]

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