Struct libnoentiendo::systems::c64::C64System
source · pub struct C64System { /* private fields */ }
Expand description
The Commodore 64 system.
Trait Implementations§
source§impl BuildableSystem<C64SystemRoms, C64SystemConfig> for C64System
impl BuildableSystem<C64SystemRoms, C64SystemConfig> for C64System
source§fn build(
roms: C64SystemRoms,
config: C64SystemConfig,
platform: Arc<dyn PlatformProvider>
) -> Box<dyn System>
fn build( roms: C64SystemRoms, config: C64SystemConfig, platform: Arc<dyn PlatformProvider> ) -> Box<dyn System>
Instantiate this system from the given roms, configuration, and with I/O provided by the given
platform provider.
source§impl System for C64System
impl System for C64System
source§fn get_cpu_mut(&mut self) -> Box<&mut dyn Cpu>
fn get_cpu_mut(&mut self) -> Box<&mut dyn Cpu>
Return a mutable reference to the CPU used in this system.
source§fn render(&mut self, framebuffer: &mut [u8], config: WindowConfig)
fn render(&mut self, framebuffer: &mut [u8], config: WindowConfig)
Render the current state of the system to the given framebuffer.
fn attach_trace_handler(&mut self, handler: Box<dyn TraceHandler>)
Auto Trait Implementations§
impl !RefUnwindSafe for C64System
impl !Send for C64System
impl !Sync for C64System
impl Unpin for C64System
impl !UnwindSafe for C64System
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more