Skip to main content

InputDevice

Trait InputDevice 

Source
pub trait InputDevice:
    Send
    + Sync
    + Any {
    // Required methods
    fn read_event(&self) -> u64;
    fn handle_irq(&self);
    fn is_empty(&self) -> bool;
}

Required Methods§

Source

fn read_event(&self) -> u64

Source

fn handle_irq(&self)

Source

fn is_empty(&self) -> bool

Implementors§