[][src]Trait kurenai::key_event::KeyEvent

pub trait KeyEvent {
    fn new() -> Self;
fn run(key_event_rc: Rc<RefCell<Self>>);
fn enter(&self) -> bool;
fn arrow_left(&self) -> bool;
fn arrow_up(&self) -> bool;
fn arrow_right(&self) -> bool;
fn arrow_down(&self) -> bool; }

Required methods

fn new() -> Self

fn run(key_event_rc: Rc<RefCell<Self>>)

fn enter(&self) -> bool

fn arrow_left(&self) -> bool

fn arrow_up(&self) -> bool

fn arrow_right(&self) -> bool

fn arrow_down(&self) -> bool

Loading content...

Implementors

impl KeyEvent for HtmlKeyboardEvent[src]

Loading content...