Struct yarustc8e::Chip8[][src]

pub struct Chip8<'a> {
    pub display: Display,
    // some fields omitted
}

Fields

display: Display

Implementations

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]

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> !Send for Chip8<'a>

impl<'a> !Sync for Chip8<'a>

impl<'a> Unpin for Chip8<'a>

impl<'a> !UnwindSafe for Chip8<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,