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

#[repr(C)]pub struct _lv_task_t {
    pub period: u32,
    pub last_run: u32,
    pub task_cb: lv_task_cb_t,
    pub user_data: *mut c_void,
    pub repeat_count: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 3],
}

TYPEDEFS

Fields

period: u32

< How often the task should run

last_run: u32

< Last time the task ran

task_cb: lv_task_cb_t

< Task function

user_data: *mut c_void

< Custom user data

repeat_count: i32

< 1: Task times; -1 : infinity; 0 : stop ; n>0: residual times

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

Implementations

impl _lv_task_t[src]

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

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

pub fn new_bitfield_1(prio: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]

Trait Implementations

impl Clone for _lv_task_t[src]

impl Copy for _lv_task_t[src]

impl Default for _lv_task_t[src]

Auto Trait Implementations

impl !Send for _lv_task_t

impl !Sync for _lv_task_t

impl Unpin for _lv_task_t

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.