Struct yarustc8e::Chip8 [−][src]
pub struct Chip8<'a> { pub display: Display, // some fields omitted }
Fields
display: Display
Implementations
impl Chip8<'_>
[src]
impl Chip8<'_>
[src]pub fn new<'a, F, G>(
start_from: usize,
big: bool,
font: Option<[[u8; 5]; 16]>,
key_state_handler: &'a F,
key_wait_handler: &'a G
) -> Chip8<'a> where
F: Fn(u8) -> bool,
G: Fn() -> u8,
[src]
start_from: usize,
big: bool,
font: Option<[[u8; 5]; 16]>,
key_state_handler: &'a F,
key_wait_handler: &'a G
) -> Chip8<'a> where
F: Fn(u8) -> bool,
G: Fn() -> u8,
pub fn load(&mut self, program: Vec<u8>, to: Option<usize>)
[src]
pub fn internal_state(&mut self) -> &mut State
[src]
pub fn timer_step(&mut self)
[src]
pub fn stack_push(&mut self, n: usize)
[src]
pub fn stack_pop(&mut self) -> usize
[src]
pub fn evolve(&mut self) -> Result<(), &'static str>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Chip8<'a>
impl<'a> !RefUnwindSafe for Chip8<'a>
impl<'a> !UnwindSafe for Chip8<'a>
impl<'a> !UnwindSafe for Chip8<'a>