#[repr(u16)]pub enum Event_code_type {
Show 97 variants
All = 0,
Pressed = 1,
Pressing = 2,
Press_lost = 3,
Short_clicked = 4,
Long_pressed = 5,
Long_pressed_repeat = 6,
Clicked = 7,
Released = 8,
Scroll_begin = 9,
Scroll_throw_begin = 10,
Scroll_end = 11,
Scroll = 12,
Gesture = 13,
Key = 14,
Rotary = 15,
Focused = 16,
Defocused = 17,
Leave = 18,
Hit_test = 19,
Input_device_reset = 20,
Hover_over = 21,
Hover_leave = 22,
Cover_check = 23,
Refresh_ext_draw_size = 24,
Draw_main_begin = 25,
Draw_main = 26,
Draw_main_end = 27,
Draw_post_begin = 28,
Draw_post = 29,
Draw_post_end = 30,
Draw_task_added = 31,
Value_changed = 32,
Insert = 33,
Refresh = 34,
Ready = 35,
Cancel = 36,
Create = 37,
Delete = 38,
Child_changed = 39,
Child_created = 40,
Child_deleted = 41,
Screen_unload_start = 42,
Screen_load_start = 43,
Screen_loaded = 44,
Screen_unloaded = 45,
Size_changed = 46,
Style_changed = 47,
Layout_changed = 48,
Get_self_size = 49,
Invalidate_area = 50,
Resolution_changed = 51,
Color_format_changed = 52,
Refresh_request = 53,
Refresh_start = 54,
Refresh_ready = 55,
Render_start = 56,
Render_ready = 57,
Flush_start = 58,
Flush_finish = 59,
Flush_wait_start = 60,
Flush_wait_finish = 61,
Vertical_synchronization = 62,
Last = 63,
Custom_1 = 64,
Custom_2 = 65,
Custom_3 = 66,
Custom_4 = 67,
Custom_5 = 68,
Custom_6 = 69,
Custom_7 = 70,
Custom_8 = 71,
Custom_9 = 72,
Custom_10 = 73,
Custom_11 = 74,
Custom_12 = 75,
Custom_13 = 76,
Custom_14 = 77,
Custom_15 = 78,
Custom_16 = 79,
Custom_17 = 80,
Custom_18 = 81,
Custom_19 = 82,
Custom_20 = 83,
Custom_21 = 84,
Custom_22 = 85,
Custom_23 = 86,
Custom_24 = 87,
Custom_25 = 88,
Custom_26 = 89,
Custom_27 = 90,
Custom_28 = 91,
Custom_29 = 92,
Custom_30 = 93,
Custom_31 = 94,
Custom_32 = 95,
Preprocess = 32_768,
}
Variants§
All = 0
Pressed = 1
Pressing = 2
Press_lost = 3
Short_clicked = 4
Long_pressed = 5
Long_pressed_repeat = 6
Clicked = 7
Released = 8
Scroll_begin = 9
Scroll_throw_begin = 10
Scroll_end = 11
Scroll = 12
Gesture = 13
Key = 14
Rotary = 15
Focused = 16
Defocused = 17
Leave = 18
Hit_test = 19
Input_device_reset = 20
Hover_over = 21
Hover_leave = 22
Cover_check = 23
Refresh_ext_draw_size = 24
Draw_main_begin = 25
Draw_main = 26
Draw_main_end = 27
Draw_post_begin = 28
Draw_post = 29
Draw_post_end = 30
Draw_task_added = 31
Value_changed = 32
Insert = 33
Refresh = 34
Ready = 35
Cancel = 36
Create = 37
Delete = 38
Child_changed = 39
Child_created = 40
Child_deleted = 41
Screen_unload_start = 42
Screen_load_start = 43
Screen_loaded = 44
Screen_unloaded = 45
Size_changed = 46
Style_changed = 47
Layout_changed = 48
Get_self_size = 49
Invalidate_area = 50
Resolution_changed = 51
Color_format_changed = 52
Refresh_request = 53
Refresh_start = 54
Refresh_ready = 55
Render_start = 56
Render_ready = 57
Flush_start = 58
Flush_finish = 59
Flush_wait_start = 60
Flush_wait_finish = 61
Vertical_synchronization = 62
Last = 63
Custom_1 = 64
Custom_2 = 65
Custom_3 = 66
Custom_4 = 67
Custom_5 = 68
Custom_6 = 69
Custom_7 = 70
Custom_8 = 71
Custom_9 = 72
Custom_10 = 73
Custom_11 = 74
Custom_12 = 75
Custom_13 = 76
Custom_14 = 77
Custom_15 = 78
Custom_16 = 79
Custom_17 = 80
Custom_18 = 81
Custom_19 = 82
Custom_20 = 83
Custom_21 = 84
Custom_22 = 85
Custom_23 = 86
Custom_24 = 87
Custom_25 = 88
Custom_26 = 89
Custom_27 = 90
Custom_28 = 91
Custom_29 = 92
Custom_30 = 93
Custom_31 = 94
Custom_32 = 95
Preprocess = 32_768
Implementations§
Source§impl Event_code_type
impl Event_code_type
pub const fn Into_LVGL_code(self) -> lv_event_code_t
pub const fn From_LVGL_code(Code: lv_event_code_t) -> Self
Trait Implementations§
Source§impl Clone for Event_code_type
impl Clone for Event_code_type
Source§fn clone(&self) -> Event_code_type
fn clone(&self) -> Event_code_type
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Event_code_type
impl Debug for Event_code_type
Source§impl From<Event_code_type> for lv_event_code_t
impl From<Event_code_type> for lv_event_code_t
Source§fn from(Code: Event_code_type) -> Self
fn from(Code: Event_code_type) -> Self
Converts to this type from the input type.
Source§impl From<u32> for Event_code_type
impl From<u32> for Event_code_type
Source§fn from(Code: lv_event_code_t) -> Self
fn from(Code: lv_event_code_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Event_code_type
impl PartialEq for Event_code_type
impl Copy for Event_code_type
impl Eq for Event_code_type
impl StructuralPartialEq for Event_code_type
Auto Trait Implementations§
impl Freeze for Event_code_type
impl RefUnwindSafe for Event_code_type
impl Send for Event_code_type
impl Sync for Event_code_type
impl Unpin for Event_code_type
impl UnwindSafe for Event_code_type
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