Graphics

Enum Event_code_type

Source
#[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§

Trait Implementations§

Source§

impl Clone for Event_code_type

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for Event_code_type

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Event_code_type> for lv_event_code_t

Source§

fn from(Code: Event_code_type) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Event_code_type

Source§

fn from(Code: lv_event_code_t) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Event_code_type

Source§

fn eq(&self, other: &Event_code_type) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Event_code_type

Source§

impl Eq for Event_code_type

Source§

impl StructuralPartialEq for Event_code_type

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.