pub trait Keyboard {
    type KeyboardStateType: KeyboardState;
    fn is_down(&mut self, vk: i32) -> bool;
fn set_down(&mut self, vk: i32, down: bool);
fn state(&mut self) -> Result<Self::KeyboardStateType>; }

Associated Types

Required methods

Implementations on Foreign Types

Implementors