#[repr(C)]pub struct lv_indev_t {Show 26 fields
pub type_: lv_indev_type_t,
pub read_cb: lv_indev_read_cb_t,
pub state: lv_indev_state_t,
pub mode: lv_indev_mode_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub pr_timestamp: u32,
pub longpr_rep_timestamp: u32,
pub driver_data: *mut c_void,
pub user_data: *mut c_void,
pub disp: *mut lv_display_t,
pub read_timer: *mut lv_timer_t,
pub scroll_limit: u8,
pub scroll_throw: u8,
pub gesture_min_velocity: u8,
pub gesture_limit: u8,
pub long_press_time: u16,
pub long_press_repeat_time: u16,
pub rotary_sensitivity: i32,
pub pointer: lv_indev_t__bindgen_ty_1,
pub keypad: lv_indev_t__bindgen_ty_2,
pub cursor: *mut lv_obj_t,
pub group: *mut lv_group_t,
pub btn_points: *const lv_point_t,
pub event_list: lv_event_list_t,
pub scroll_throw_anim: *mut lv_anim_t,
}Expand description
TYPEDEFS
Fields§
§type_: lv_indev_type_tInput device type
read_cb: lv_indev_read_cb_tFunction pointer to read input device data.
state: lv_indev_state_t< Current state of the input device.
mode: lv_indev_mode_t§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§pr_timestamp: u32< Pressed time stamp
longpr_rep_timestamp: u32< Long press repeat time stamp
driver_data: *mut c_void§user_data: *mut c_void§disp: *mut lv_display_t§read_timer: *mut lv_timer_t§scroll_limit: u8§scroll_throw: u8§gesture_min_velocity: u8§gesture_limit: u8§long_press_time: u16§long_press_repeat_time: u16§rotary_sensitivity: i32§pointer: lv_indev_t__bindgen_ty_1§keypad: lv_indev_t__bindgen_ty_2§cursor: *mut lv_obj_t< Cursor for LV_INPUT_TYPE_POINTER
group: *mut lv_group_t< Keypad destination group
btn_points: *const lv_point_t< Array points assigned to the button ()screen will be pressed here by the buttons
event_list: lv_event_list_t§scroll_throw_anim: *mut lv_anim_tImplementations§
Source§impl lv_indev_t
impl lv_indev_t
pub fn long_pr_sent(&self) -> u8
pub fn set_long_pr_sent(&mut self, val: u8)
pub unsafe fn long_pr_sent_raw(this: *const Self) -> u8
pub unsafe fn set_long_pr_sent_raw(this: *mut Self, val: u8)
pub fn reset_query(&self) -> u8
pub fn set_reset_query(&mut self, val: u8)
pub unsafe fn reset_query_raw(this: *const Self) -> u8
pub unsafe fn set_reset_query_raw(this: *mut Self, val: u8)
pub fn enabled(&self) -> u8
pub fn set_enabled(&mut self, val: u8)
pub unsafe fn enabled_raw(this: *const Self) -> u8
pub unsafe fn set_enabled_raw(this: *mut Self, val: u8)
pub fn wait_until_release(&self) -> u8
pub fn set_wait_until_release(&mut self, val: u8)
pub unsafe fn wait_until_release_raw(this: *const Self) -> u8
pub unsafe fn set_wait_until_release_raw(this: *mut Self, val: u8)
pub fn stop_processing_query(&self) -> u8
pub fn set_stop_processing_query(&mut self, val: u8)
pub unsafe fn stop_processing_query_raw(this: *const Self) -> u8
pub unsafe fn set_stop_processing_query_raw(this: *mut Self, val: u8)
pub fn new_bitfield_1( long_pr_sent: u8, reset_query: u8, enabled: u8, wait_until_release: u8, stop_processing_query: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_indev_t
impl Clone for lv_indev_t
Source§fn clone(&self) -> lv_indev_t
fn clone(&self) -> lv_indev_t
Returns a duplicate 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 lv_indev_t
impl Debug for lv_indev_t
impl Copy for lv_indev_t
Auto Trait Implementations§
impl Freeze for lv_indev_t
impl RefUnwindSafe for lv_indev_t
impl !Send for lv_indev_t
impl !Sync for lv_indev_t
impl Unpin for lv_indev_t
impl UnwindSafe for lv_indev_t
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