#[repr(C)]pub struct lv_chart_t {Show 14 fields
pub obj: lv_obj_t,
pub series_ll: lv_ll_t,
pub cursor_ll: lv_ll_t,
pub ymin: [i32; 2],
pub ymax: [i32; 2],
pub xmin: [i32; 2],
pub xmax: [i32; 2],
pub pressed_point_id: i32,
pub hdiv_cnt: u32,
pub vdiv_cnt: u32,
pub point_cnt: u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}Fields§
§obj: lv_obj_t§series_ll: lv_ll_t< Linked list for the series (stores lv_chart_series_t)
cursor_ll: lv_ll_t< Linked list for the cursors (stores lv_chart_cursor_t)
ymin: [i32; 2]§ymax: [i32; 2]§xmin: [i32; 2]§xmax: [i32; 2]§pressed_point_id: i32§hdiv_cnt: u32< Number of horizontal division lines
vdiv_cnt: u32< Number of vertical division lines
point_cnt: u32< Point number in a data line
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 7]Implementations§
Source§impl lv_chart_t
impl lv_chart_t
pub fn type_(&self) -> lv_chart_type_t
pub fn set_type(&mut self, val: lv_chart_type_t)
pub unsafe fn type__raw(this: *const Self) -> lv_chart_type_t
pub unsafe fn set_type_raw(this: *mut Self, val: lv_chart_type_t)
pub fn update_mode(&self) -> lv_chart_update_mode_t
pub fn set_update_mode(&mut self, val: lv_chart_update_mode_t)
pub unsafe fn update_mode_raw(this: *const Self) -> lv_chart_update_mode_t
pub unsafe fn set_update_mode_raw(this: *mut Self, val: lv_chart_update_mode_t)
pub fn new_bitfield_1( type_: lv_chart_type_t, update_mode: lv_chart_update_mode_t, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_chart_t
impl Clone for lv_chart_t
Source§fn clone(&self) -> lv_chart_t
fn clone(&self) -> lv_chart_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_chart_t
impl Debug for lv_chart_t
impl Copy for lv_chart_t
Auto Trait Implementations§
impl Freeze for lv_chart_t
impl RefUnwindSafe for lv_chart_t
impl !Send for lv_chart_t
impl !Sync for lv_chart_t
impl Unpin for lv_chart_t
impl UnwindSafe for lv_chart_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