#[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 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 Default for _lv_indev_proc_t
impl Default for _lv_indev_proc_t
impl Copy for _lv_indev_proc_t
Auto Trait Implementations§
impl Freeze for _lv_indev_proc_t
impl RefUnwindSafe for _lv_indev_proc_t
impl !Send for _lv_indev_proc_t
impl !Sync for _lv_indev_proc_t
impl Unpin for _lv_indev_proc_t
impl UnwindSafe for _lv_indev_proc_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