Struct runes::memory::CPUBus[][src]

#[repr(C)]pub struct CPUBus<'a> { /* fields omitted */ }

Implementations

impl<'a> CPUBus<'a>[src]

pub fn new() -> Self[src]

pub fn load(&mut self, reader: &mut dyn Read) -> bool[src]

pub fn save(&self, writer: &mut dyn Write) -> bool[src]

pub fn attach(
    &mut self,
    cpu: *mut CPU<'a>,
    ppu: *mut PPU<'a>,
    apu: *mut APU<'a>
)
[src]

pub fn get_cpu(&self) -> &'a mut CPU<'a>[src]

pub fn get_ppu(&self) -> &'a mut PPU<'a>[src]

pub fn get_apu(&self) -> &'a mut APU<'a>[src]

pub fn cpu_stall(&self, delta: u32)[src]

pub fn tick(&self)[src]

Auto Trait Implementations

impl<'a> !Send for CPUBus<'a>[src]

impl<'a> !Sync for CPUBus<'a>[src]

impl<'a> Unpin for CPUBus<'a>[src]

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.