[][src]Struct lvgl::hal::indev::_lv_indev_proc_t

#[repr(C)]pub struct _lv_indev_proc_t {
    pub state: lv_indev_state_t,
    pub types: _lv_indev_proc_t__bindgen_ty_1,
    pub pr_timestamp: u32,
    pub longpr_rep_timestamp: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 7],
}

Run time data of input devices Internally used by the library, you should not need to touch it.

Fields

state: lv_indev_state_t

< Current state of the input device.

types: _lv_indev_proc_t__bindgen_ty_1pr_timestamp: u32

< Pressed time stamp

longpr_rep_timestamp: u32

< Long press repeat time stamp

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 7]

Implementations

impl _lv_indev_proc_t[src]

pub fn long_pr_sent(&self) -> u8[src]

pub fn set_long_pr_sent(&mut self, val: u8)[src]

pub fn reset_query(&self) -> u8[src]

pub fn set_reset_query(&mut self, val: u8)[src]

pub fn disabled(&self) -> u8[src]

pub fn set_disabled(&mut self, val: u8)[src]

pub fn wait_until_release(&self) -> u8[src]

pub fn set_wait_until_release(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    long_pr_sent: u8,
    reset_query: u8,
    disabled: u8,
    wait_until_release: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for _lv_indev_proc_t[src]

impl Copy for _lv_indev_proc_t[src]

impl Default for _lv_indev_proc_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.