Struct libnoentiendo::systems::vic::Vic20System
source · pub struct Vic20System { /* private fields */ }
Expand description
The VIC-20 system by Commodore.
Trait Implementations§
source§impl BuildableSystem<Vic20SystemRoms, Vic20SystemConfig> for Vic20System
impl BuildableSystem<Vic20SystemRoms, Vic20SystemConfig> for Vic20System
source§fn build(
roms: Vic20SystemRoms,
config: Vic20SystemConfig,
platform: Arc<dyn PlatformProvider>
) -> Box<dyn System>
fn build( roms: Vic20SystemRoms, config: Vic20SystemConfig, 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 Vic20System
impl System for Vic20System
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 Vic20System
impl !Send for Vic20System
impl !Sync for Vic20System
impl Unpin for Vic20System
impl !UnwindSafe for Vic20System
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