Struct kernel::common::event::Event
[−]
[src]
pub struct Event { pub code: char, pub a: isize, pub b: isize, pub c: isize, }
An event
Fields
code | |
a | |
b | |
c |
Methods
impl Event
fn new() -> Event
Create a null event
fn to_option(self) -> EventOption
Convert the event ot an optional event
fn trigger(&self)
Event trigger