#[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,
}
Fields§
§ta: lv_textarea_t
§value: i32
§range_max: i32
§range_min: i32
§step: i32
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§__bindgen_padding_0: u16
Implementations§
Source§impl lv_spinbox_t
impl lv_spinbox_t
pub fn digit_count(&self) -> u16
pub fn set_digit_count(&mut self, val: u16)
pub fn dec_point_pos(&self) -> u16
pub fn set_dec_point_pos(&mut self, val: u16)
pub fn rollover(&self) -> u16
pub fn set_rollover(&mut self, val: u16)
pub fn digit_step_dir(&self) -> u16
pub fn set_digit_step_dir(&mut self, val: u16)
pub fn new_bitfield_1( digit_count: u16, dec_point_pos: u16, rollover: u16, digit_step_dir: u16, ) -> __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
Source§impl Default for lv_spinbox_t
impl Default 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