Struct lvgl_sys::_lv_anim_t

source ·
#[repr(C)]
pub struct _lv_anim_t {
Show 20 fields pub var: *mut c_void, pub exec_cb: lv_anim_exec_xcb_t, pub start_cb: lv_anim_start_cb_t, pub ready_cb: lv_anim_ready_cb_t, pub deleted_cb: lv_anim_deleted_cb_t, pub get_value_cb: lv_anim_get_value_cb_t, pub user_data: *mut c_void, pub path_cb: lv_anim_path_cb_t, pub start_value: i32, pub current_value: i32, pub end_value: i32, pub time: i32, pub act_time: i32, pub playback_delay: u32, pub playback_time: u32, pub repeat_delay: u32, pub repeat_cnt: u16, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub __bindgen_padding_0: [u8; 5],
}

Fields§

§var: *mut c_void§exec_cb: lv_anim_exec_xcb_t§start_cb: lv_anim_start_cb_t§ready_cb: lv_anim_ready_cb_t§deleted_cb: lv_anim_deleted_cb_t§get_value_cb: lv_anim_get_value_cb_t§user_data: *mut c_void§path_cb: lv_anim_path_cb_t§start_value: i32§current_value: i32§end_value: i32§time: i32§act_time: i32§playback_delay: u32§playback_time: u32§repeat_delay: u32§repeat_cnt: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 5]

Implementations§

source§

impl _lv_anim_t

source

pub fn early_apply(&self) -> u8

source

pub fn set_early_apply(&mut self, val: u8)

source

pub fn playback_now(&self) -> u8

source

pub fn set_playback_now(&mut self, val: u8)

source

pub fn run_round(&self) -> u8

source

pub fn set_run_round(&mut self, val: u8)

source

pub fn start_cb_called(&self) -> u8

source

pub fn set_start_cb_called(&mut self, val: u8)

source

pub fn new_bitfield_1( early_apply: u8, playback_now: u8, run_round: u8, start_cb_called: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

source§

impl Clone for _lv_anim_t

source§

fn clone(&self) -> _lv_anim_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _lv_anim_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for _lv_anim_t

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for _lv_anim_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.