#[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< Current value of the bar
min_value: i32< Minimum value of the bar
max_value: i32< Maximum value of the bar
start_value: i32< Start value of the bar
indic_area: lv_area_t< Save the indicator area. Might be used by derived types
val_reversed: bool< Whether value been reversed
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) -> lv_bar_mode_t
pub fn set_mode(&mut self, val: lv_bar_mode_t)
pub unsafe fn mode_raw(this: *const Self) -> lv_bar_mode_t
pub unsafe fn set_mode_raw(this: *mut Self, val: lv_bar_mode_t)
pub fn orientation(&self) -> lv_bar_orientation_t
pub fn set_orientation(&mut self, val: lv_bar_orientation_t)
pub unsafe fn orientation_raw(this: *const Self) -> lv_bar_orientation_t
pub unsafe fn set_orientation_raw(this: *mut Self, val: lv_bar_orientation_t)
pub fn new_bitfield_1( mode: lv_bar_mode_t, orientation: lv_bar_orientation_t, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for lv_bar_t
impl RefUnwindSafe for lv_bar_t
impl !Send for lv_bar_t
impl !Sync for lv_bar_t
impl Unpin 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