Struct chiprust_emu::Chip8 [−][src]
pub struct Chip8 { pub display: Display, // some fields omitted }
Fields
display: Display
Implementations
pub fn new<T, G>(
key_wait_handler: &'static (dyn Fn() -> u8 + Send + Sync + 'static),
key_state_handler: &'static (dyn Fn(u8) -> bool + Send + Sync + 'static)
) -> Chip8
[src]pub fn set_handlers(
&mut self,
key_wait_handler: &'static (dyn Fn() -> u8 + Send + Sync + 'static),
key_state_handler: &'static (dyn Fn(u8) -> bool + Send + Sync + 'static)
)
[src]The at parameter should almost always be 0x200. It’s here for compatability with ETI 660 programs (starting with 0x600). Panics if at is less than 240, where the default font lies.
Auto Trait Implementations
impl !RefUnwindSafe for Chip8
impl !UnwindSafe for Chip8