#[repr(C)]pub struct lv_spinbox_t {
pub ta: lv_textarea_t,
pub value: i32,
pub range_max: i32,
pub range_min: i32,
pub step: i32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: [u16; 3],
}Expand description
Data of spinbox
Fields§
§ta: lv_textarea_t< Ext. of ancestor
value: i32§range_max: i32§range_min: i32§step: i32§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: [u16; 3]Implementations§
Source§impl lv_spinbox_t
impl lv_spinbox_t
pub fn digit_count(&self) -> u32
pub fn set_digit_count(&mut self, val: u32)
pub unsafe fn digit_count_raw(this: *const Self) -> u32
pub unsafe fn set_digit_count_raw(this: *mut Self, val: u32)
pub fn dec_point_pos(&self) -> u32
pub fn set_dec_point_pos(&mut self, val: u32)
pub unsafe fn dec_point_pos_raw(this: *const Self) -> u32
pub unsafe fn set_dec_point_pos_raw(this: *mut Self, val: u32)
pub fn rollover(&self) -> u32
pub fn set_rollover(&mut self, val: u32)
pub unsafe fn rollover_raw(this: *const Self) -> u32
pub unsafe fn set_rollover_raw(this: *mut Self, val: u32)
pub fn digit_step_dir(&self) -> u32
pub fn set_digit_step_dir(&mut self, val: u32)
pub unsafe fn digit_step_dir_raw(this: *const Self) -> u32
pub unsafe fn set_digit_step_dir_raw(this: *mut Self, val: u32)
pub fn new_bitfield_1( digit_count: u32, dec_point_pos: u32, rollover: u32, digit_step_dir: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for lv_spinbox_t
impl Clone for lv_spinbox_t
Source§fn clone(&self) -> lv_spinbox_t
fn clone(&self) -> lv_spinbox_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for lv_spinbox_t
impl Debug for lv_spinbox_t
impl Copy for lv_spinbox_t
Auto Trait Implementations§
impl Freeze for lv_spinbox_t
impl RefUnwindSafe for lv_spinbox_t
impl !Send for lv_spinbox_t
impl !Sync for lv_spinbox_t
impl Unpin for lv_spinbox_t
impl UnwindSafe for lv_spinbox_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