#[repr(C)]pub struct lv_scale_t {Show 13 fields
pub obj: lv_obj_t,
pub section_ll: lv_ll_t,
pub txt_src: *mut *const c_char,
pub mode: lv_scale_mode_t,
pub range_min: i32,
pub range_max: i32,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 5]>,
pub angle_range: u32,
pub rotation: i32,
pub custom_label_cnt: i32,
pub last_tick_width: i32,
pub first_tick_width: i32,
}Fields§
§obj: lv_obj_t§section_ll: lv_ll_t< Linked list for the sections (stores lv_scale_section_t)
txt_src: *mut *const c_char§mode: lv_scale_mode_t§range_min: i32§range_max: i32§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 5]>§angle_range: u32§rotation: i32§custom_label_cnt: i32§last_tick_width: i32§first_tick_width: i32Implementations§
Source§impl lv_scale_t
impl lv_scale_t
pub fn total_tick_count(&self) -> u32
pub fn set_total_tick_count(&mut self, val: u32)
pub unsafe fn total_tick_count_raw(this: *const Self) -> u32
pub unsafe fn set_total_tick_count_raw(this: *mut Self, val: u32)
pub fn major_tick_every(&self) -> u32
pub fn set_major_tick_every(&mut self, val: u32)
pub unsafe fn major_tick_every_raw(this: *const Self) -> u32
pub unsafe fn set_major_tick_every_raw(this: *mut Self, val: u32)
pub fn label_enabled(&self) -> u32
pub fn set_label_enabled(&mut self, val: u32)
pub unsafe fn label_enabled_raw(this: *const Self) -> u32
pub unsafe fn set_label_enabled_raw(this: *mut Self, val: u32)
pub fn post_draw(&self) -> u32
pub fn set_post_draw(&mut self, val: u32)
pub unsafe fn post_draw_raw(this: *const Self) -> u32
pub unsafe fn set_post_draw_raw(this: *mut Self, val: u32)
pub fn draw_ticks_on_top(&self) -> u32
pub fn set_draw_ticks_on_top(&mut self, val: u32)
pub unsafe fn draw_ticks_on_top_raw(this: *const Self) -> u32
pub unsafe fn set_draw_ticks_on_top_raw(this: *mut Self, val: u32)
pub fn new_bitfield_1( total_tick_count: u32, major_tick_every: u32, label_enabled: u32, post_draw: u32, draw_ticks_on_top: u32, ) -> __BindgenBitfieldUnit<[u8; 5]>
Trait Implementations§
Source§impl Clone for lv_scale_t
impl Clone for lv_scale_t
Source§fn clone(&self) -> lv_scale_t
fn clone(&self) -> lv_scale_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_scale_t
impl Debug for lv_scale_t
impl Copy for lv_scale_t
Auto Trait Implementations§
impl Freeze for lv_scale_t
impl RefUnwindSafe for lv_scale_t
impl !Send for lv_scale_t
impl !Sync for lv_scale_t
impl Unpin for lv_scale_t
impl UnwindSafe for lv_scale_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