Struct palmer::Chip8[][src]

pub struct Chip8<T: AudioDriver> {
    pub display: Display,
    pub input: Input,
    // some fields omitted
}

Fields

display: Displayinput: Input

Implementations

impl<T: AudioDriver> Chip8<T>[src]

pub fn new(audio_driver: T) -> Chip8<T>[src]

pub fn load(&mut self, buffer: Vec<u8>)[src]

pub fn reset(&mut self)[src]

pub fn should_draw(&self) -> bool[src]

pub fn emulate_cycle(&mut self)[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Chip8<T> where
    T: RefUnwindSafe

impl<T> Send for Chip8<T> where
    T: Send

impl<T> Sync for Chip8<T> where
    T: Sync

impl<T> Unpin for Chip8<T> where
    T: Unpin

impl<T> UnwindSafe for Chip8<T> where
    T: UnwindSafe

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>,