#[repr(C)]pub struct lv_anim_t {Show 23 fields
pub var: *mut c_void,
pub exec_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: i32)>,
pub custom_exec_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t, _: i32)>,
pub start_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>,
pub completed_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>,
pub deleted_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>,
pub get_value_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t) -> i32>,
pub user_data: *mut c_void,
pub path_cb: Option<unsafe extern "C" fn(_: *const lv_anim_t) -> i32>,
pub start_value: i32,
pub current_value: i32,
pub end_value: i32,
pub duration: i32,
pub act_time: i32,
pub playback_delay: u32,
pub playback_duration: u32,
pub repeat_delay: u32,
pub repeat_cnt: u32,
pub parameter: lv_anim_t_lv_anim_path_para_t,
pub last_timer_run: u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§var: *mut c_void
§exec_cb: Option<unsafe extern "C" fn(_: *mut c_void, _: i32)>
§custom_exec_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t, _: i32)>
§start_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>
§completed_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>
§deleted_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t)>
§get_value_cb: Option<unsafe extern "C" fn(_: *mut lv_anim_t) -> i32>
§user_data: *mut c_void
§path_cb: Option<unsafe extern "C" fn(_: *const lv_anim_t) -> i32>
§start_value: i32
§current_value: i32
§end_value: i32
§duration: i32
§act_time: i32
§playback_delay: u32
§playback_duration: u32
§repeat_delay: u32
§repeat_cnt: u32
§parameter: lv_anim_t_lv_anim_path_para_t
§last_timer_run: u32
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl lv_anim_t
impl lv_anim_t
pub fn playback_now(&self) -> u8
pub fn set_playback_now(&mut self, val: u8)
pub fn run_round(&self) -> u8
pub fn set_run_round(&mut self, val: u8)
pub fn start_cb_called(&self) -> u8
pub fn set_start_cb_called(&mut self, val: u8)
pub fn early_apply(&self) -> u8
pub fn set_early_apply(&mut self, val: u8)
pub fn new_bitfield_1( playback_now: u8, run_round: u8, start_cb_called: u8, early_apply: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for lv_anim_t
impl RefUnwindSafe for lv_anim_t
impl !Send for lv_anim_t
impl !Sync for lv_anim_t
impl Unpin for lv_anim_t
impl UnwindSafe for lv_anim_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