Struct runes::memory::CPUMemory[][src]

#[repr(C)]pub struct CPUMemory<'a> {
    pub bus: CPUBus<'a>,
    // some fields omitted
}

Fields

bus: CPUBus<'a>

Implementations

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

pub fn new(
    mapper: &'a RefMapper<'a>,
    ctl1: Option<&'a dyn Controller>,
    ctl2: Option<&'a dyn Controller>
) -> 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 get_bus(&'a self) -> &'a CPUBus<'a>[src]

pub fn read_without_tick(&self, addr: u16) -> u8[src]

pub fn write_without_tick(&mut self, addr: u16, data: u8)[src]

Trait Implementations

impl<'a> VMem for CPUMemory<'a>[src]

Auto Trait Implementations

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

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

impl<'a> Unpin for CPUMemory<'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.