Struct lvgl_sys::_lv_indev_proc_t
source · #[repr(C)]pub struct _lv_indev_proc_t {
pub state: lv_indev_state_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub types: _lv_indev_proc_t__bindgen_ty_1,
pub pr_timestamp: u32,
pub longpr_rep_timestamp: u32,
}
Fields§
§state: lv_indev_state_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§types: _lv_indev_proc_t__bindgen_ty_1
§pr_timestamp: u32
§longpr_rep_timestamp: u32
Implementations§
source§impl _lv_indev_proc_t
impl _lv_indev_proc_t
pub fn long_pr_sent(&self) -> u8
pub fn set_long_pr_sent(&mut self, val: u8)
pub fn reset_query(&self) -> u8
pub fn set_reset_query(&mut self, val: u8)
pub fn disabled(&self) -> u8
pub fn set_disabled(&mut self, val: u8)
pub fn wait_until_release(&self) -> u8
pub fn set_wait_until_release(&mut self, val: u8)
pub fn new_bitfield_1( long_pr_sent: u8, reset_query: u8, disabled: u8, wait_until_release: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for _lv_indev_proc_t
impl Clone for _lv_indev_proc_t
source§fn clone(&self) -> _lv_indev_proc_t
fn clone(&self) -> _lv_indev_proc_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