Struct runes::memory::CPUBus [−][src]
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]
&mut self,
cpu: *mut CPU<'a>,
ppu: *mut PPU<'a>,
apu: *mut APU<'a>
)
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]
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>,