Hardware

Trait Hardware 

Source
pub trait Hardware {
    type Display: Display;
    type Timer: Timer;
    type Input: Input;

    // Required methods
    fn display(&mut self) -> &mut Self::Display;
    fn timer(&mut self) -> &mut Self::Timer;
    fn input(&mut self) -> &mut Self::Input;
}

Required Associated Types§

Required Methods§

Source

fn display(&mut self) -> &mut Self::Display

Source

fn timer(&mut self) -> &mut Self::Timer

Source

fn input(&mut self) -> &mut Self::Input

Implementors§