Struct lvgl_sys::_lv_indev_drv_t
source · #[repr(C)]pub struct _lv_indev_drv_t {
pub type_: lv_indev_type_t,
pub read_cb: Option<unsafe extern "C" fn(indev_drv: *mut _lv_indev_drv_t, data: *mut lv_indev_data_t)>,
pub feedback_cb: Option<unsafe extern "C" fn(arg1: *mut _lv_indev_drv_t, arg2: u8)>,
pub user_data: *mut c_void,
pub disp: *mut _lv_disp_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,
}
Fields§
§type_: lv_indev_type_t
§read_cb: Option<unsafe extern "C" fn(indev_drv: *mut _lv_indev_drv_t, data: *mut lv_indev_data_t)>
§feedback_cb: Option<unsafe extern "C" fn(arg1: *mut _lv_indev_drv_t, arg2: u8)>
§user_data: *mut c_void
§disp: *mut _lv_disp_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
Trait Implementations§
source§impl Clone for _lv_indev_drv_t
impl Clone for _lv_indev_drv_t
source§fn clone(&self) -> _lv_indev_drv_t
fn clone(&self) -> _lv_indev_drv_t
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 more