#[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 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_drv_t
impl Debug for _lv_indev_drv_t
Source§impl Default for _lv_indev_drv_t
impl Default for _lv_indev_drv_t
impl Copy for _lv_indev_drv_t
Auto Trait Implementations§
impl Freeze for _lv_indev_drv_t
impl RefUnwindSafe for _lv_indev_drv_t
impl !Send for _lv_indev_drv_t
impl !Sync for _lv_indev_drv_t
impl Unpin for _lv_indev_drv_t
impl UnwindSafe for _lv_indev_drv_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