Struct chip8::Cpu
[−]
[src]
pub struct Cpu { /* fields omitted */ }
Methods
impl Cpu
[src]
fn new(rand: fn() -> u8) -> Cpu
[src]
fn reset(&mut self)
[src]
fn run(&mut self, memory: &mut Memory, cycles: usize)
[src]
fn tick(&mut self)
[src]
Trait Implementations
impl Clone for Cpu
[src]
fn clone(&self) -> Cpu
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more