#[repr(C)]pub struct _lv_bar_t {
pub obj: _lv_obj_t,
pub cur_value: i32,
pub min_value: i32,
pub max_value: i32,
pub start_value: i32,
pub indic_area: lv_area_t,
pub val_reversed: bool,
pub cur_value_anim: _lv_bar_anim_t,
pub start_value_anim: _lv_bar_anim_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}Fields§
§obj: _lv_obj_t§cur_value: i32§min_value: i32§max_value: i32§start_value: i32§indic_area: lv_area_t§val_reversed: bool§cur_value_anim: _lv_bar_anim_t§start_value_anim: _lv_bar_anim_t§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 7]Implementations§
Source§impl _lv_bar_t
impl _lv_bar_t
pub fn mode(&self) -> u32
pub fn set_mode(&mut self, val: u32)
pub unsafe fn mode_raw(this: *const _lv_bar_t) -> u32
pub unsafe fn set_mode_raw(this: *mut _lv_bar_t, val: u32)
pub fn orientation(&self) -> u32
pub fn set_orientation(&mut self, val: u32)
pub unsafe fn orientation_raw(this: *const _lv_bar_t) -> u32
pub unsafe fn set_orientation_raw(this: *mut _lv_bar_t, val: u32)
pub fn new_bitfield_1( mode: u32, orientation: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl !Send for _lv_bar_t
impl !Sync for _lv_bar_t
impl Freeze for _lv_bar_t
impl RefUnwindSafe for _lv_bar_t
impl Unpin for _lv_bar_t
impl UnsafeUnpin for _lv_bar_t
impl UnwindSafe for _lv_bar_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