[−][src]Struct lvgl::hal::indev::_lv_task_t
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]
fn clone(&self) -> _lv_task_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for _lv_task_t
[src]
impl Default for _lv_task_t
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,