Struct runes::memory::CPUMemory [−][src]
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]
mapper: &'a RefMapper<'a>,
ctl1: Option<&'a dyn Controller>,
ctl2: Option<&'a dyn Controller>
) -> Self
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,