[][src]Struct thorium::interchange::GameMemory

pub struct GameMemory {
    pub config: DMGConfig,
    pub pal_index: usize,
    pub px: u8,
    pub py: u8,
    pub l_was_down: bool,
    pub r_was_down: bool,
    pub east_was_down: bool,
    pub south_was_down: bool,
    pub north_was_down: bool,
    pub apu: DMGAPU,
}

Debug struct for the game's memory.

Fields

config: DMGConfigpal_index: usizepx: u8py: u8l_was_down: boolr_was_down: booleast_was_down: boolsouth_was_down: boolnorth_was_down: boolapu: DMGAPU

Trait Implementations

impl Clone for GameMemory[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for GameMemory[src]

impl Debug for GameMemory[src]

Auto Trait Implementations

impl Send for GameMemory

impl Sync for GameMemory

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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