[][src]Struct tetanes::bus::Bus

pub struct Bus {
    pub ppu: Ppu,
    pub apu: Apu,
    pub mapper: Box<MapperType>,
    pub input: Input,
    pub wram: Memory,
    // some fields omitted
}

Fields

ppu: Ppuapu: Apumapper: Box<MapperType>input: Inputwram: Memory

Implementations

impl Bus[src]

pub fn new() -> Self[src]

pub fn load_mapper(&mut self, mapper: MapperType)[src]

pub fn add_genie_code(&mut self, code: &str) -> NesResult<()>[src]

pub fn remove_genie_code(&mut self, code: &str)[src]

Trait Implementations

impl Clone for Bus[src]

impl Debug for Bus[src]

impl Default for Bus[src]

impl MemRead for Bus[src]

impl MemWrite for Bus[src]

impl Powered for Bus[src]

impl Savable for Bus[src]

Auto Trait Implementations

impl RefUnwindSafe for Bus

impl !Send for Bus

impl !Sync for Bus

impl Unpin for Bus

impl UnwindSafe for Bus

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,