#[repr(i32)]pub enum Event {
Show 89 variants
INIT = 21,
EXIT = 22,
SHOW = 23,
HIDE = 24,
KEYPRESS = 25,
KEYRELEASE = 26,
KEYREPEAT = 28,
POINTERUP = 29,
POINTERDOWN = 30,
POINTERMOVE = 31,
ORIENTATION = 32,
SCROLL = 33,
POINTERLONG = 34,
POINTERHOLD = 35,
FOCUS = 36,
UNFOCUS = 37,
ACTIVATE = 38,
MTSYNC = 39,
TOUCHUP = 40,
TOUCHDOWN = 41,
TOUCHMOVE = 42,
REPAINT = 43,
POINTERDRAG = 44,
POINTERCANCEL = 45,
QN_MOVE = 51,
QN_RELEASE = 52,
QN_BORDER = 53,
SNAPSHOT = 71,
FSINCOMING = 72,
FSCHANGED = 73,
MP_STATECHANGED = 81,
MP_TRACKCHANGED = 82,
PREVPAGE = 91,
NEXTPAGE = 92,
OPENDIC = 93,
CONTROL_PANEL_ABOUT_TO_OPEN = 94,
UPDATE = 95,
PANEL_BLUETOOTH_A2DP = 118,
TAB = 119,
PANEL = 120,
PANEL_ICON = 121,
PANEL_TEXT = 122,
PANEL_PROGRESS = 123,
PANEL_MPLAYER = 124,
PANEL_USBDRIVE = 125,
PANEL_NETWORK = 126,
PANEL_CLOCK = 127,
PANEL_BLUETOOTH = 128,
PANEL_TASKLIST = 129,
PANEL_OBREEY_SYNC = 130,
PANEL_SETREADINGMODE = 131,
PANEL_SETREADINGMODE_INVERT = 132,
PANEL_FRONT_LIGHT = 133,
GLOBALREQUEST = 149,
GLOBALACTION = 150,
FOREGROUND = 151,
BACKGROUND = 152,
SUBTASKCLOSE = 153,
CONFIGCHANGED = 154,
SAVESTATE = 155,
OBREEY_CONFIG_CHANGED = 156,
SDIN = 161,
SDOUT = 162,
BT_RXCOMPLETE = 171,
BT_TXCOMPLETE = 172,
SYNTH_ENDED = 200,
DIC_CLOSED = 201,
SHOW_KEYBOARD = 202,
TEXTCLEAR = 209,
EXT_KB = 210,
LETTER = 211,
CALLBACK = 212,
SCANPROGRESS = 213,
STOPSCAN = 214,
STARTSCAN = 215,
SCANSTOPPED = 216,
POSTPONE_TIMED_POWEROFF = 217,
FRAME_ACTIVATED = 218,
FRAME_DEACTIVATED = 219,
READ_PROGRESS_CHANGED = 220,
DUMP_BITMAPS_DEBUG_INFO = 221,
NET_CONNECTED = 256,
NET_DISCONNECTED = 257,
NET_FOUND_NEW_FW = 260,
SYNTH_POSITION = 261,
ASYNC_TASK_FINISHED = 262,
STOP_PLAYING = 263,
AVRCP_COMMAND = 264,
AUDIO_CHANGED = 265,
}Variants§
INIT = 21
EXIT = 22
SHOW = 23
HIDE = 24
KEYPRESS = 25
KEYRELEASE = 26
KEYREPEAT = 28
POINTERUP = 29
POINTERDOWN = 30
POINTERMOVE = 31
ORIENTATION = 32
SCROLL = 33
POINTERLONG = 34
POINTERHOLD = 35
FOCUS = 36
UNFOCUS = 37
ACTIVATE = 38
MTSYNC = 39
TOUCHUP = 40
TOUCHDOWN = 41
TOUCHMOVE = 42
REPAINT = 43
POINTERDRAG = 44
POINTERCANCEL = 45
QN_MOVE = 51
QN_RELEASE = 52
QN_BORDER = 53
SNAPSHOT = 71
FSINCOMING = 72
FSCHANGED = 73
MP_STATECHANGED = 81
MP_TRACKCHANGED = 82
PREVPAGE = 91
NEXTPAGE = 92
OPENDIC = 93
CONTROL_PANEL_ABOUT_TO_OPEN = 94
UPDATE = 95
PANEL_BLUETOOTH_A2DP = 118
TAB = 119
PANEL = 120
PANEL_ICON = 121
PANEL_TEXT = 122
PANEL_PROGRESS = 123
PANEL_MPLAYER = 124
PANEL_USBDRIVE = 125
PANEL_NETWORK = 126
PANEL_CLOCK = 127
PANEL_BLUETOOTH = 128
PANEL_TASKLIST = 129
PANEL_OBREEY_SYNC = 130
PANEL_SETREADINGMODE = 131
PANEL_SETREADINGMODE_INVERT = 132
PANEL_FRONT_LIGHT = 133
GLOBALREQUEST = 149
GLOBALACTION = 150
FOREGROUND = 151
BACKGROUND = 152
SUBTASKCLOSE = 153
CONFIGCHANGED = 154
SAVESTATE = 155
OBREEY_CONFIG_CHANGED = 156
SDIN = 161
SDOUT = 162
BT_RXCOMPLETE = 171
BT_TXCOMPLETE = 172
SYNTH_ENDED = 200
DIC_CLOSED = 201
SHOW_KEYBOARD = 202
TEXTCLEAR = 209
EXT_KB = 210
LETTER = 211
CALLBACK = 212
SCANPROGRESS = 213
STOPSCAN = 214
STARTSCAN = 215
SCANSTOPPED = 216
POSTPONE_TIMED_POWEROFF = 217
FRAME_ACTIVATED = 218
FRAME_DEACTIVATED = 219
READ_PROGRESS_CHANGED = 220
DUMP_BITMAPS_DEBUG_INFO = 221
NET_CONNECTED = 256
NET_DISCONNECTED = 257
NET_FOUND_NEW_FW = 260
SYNTH_POSITION = 261
ASYNC_TASK_FINISHED = 262
STOP_PLAYING = 263
AVRCP_COMMAND = 264
AUDIO_CHANGED = 265
Implementations§
Trait Implementations§
Source§impl FromPrimitive for Event
impl FromPrimitive for Event
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more