Struct lvgl_sys::lv_chart_t
source · #[repr(C)]pub struct lv_chart_t {Show 17 fields
pub obj: lv_obj_t,
pub series_ll: lv_ll_t,
pub cursor_ll: lv_ll_t,
pub tick: [lv_chart_tick_dsc_t; 4],
pub ymin: [lv_coord_t; 2],
pub ymax: [lv_coord_t; 2],
pub xmin: [lv_coord_t; 2],
pub xmax: [lv_coord_t; 2],
pub pressed_point_id: lv_coord_t,
pub hdiv_cnt: u16,
pub vdiv_cnt: u16,
pub point_cnt: u16,
pub zoom_x: u16,
pub zoom_y: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Fields§
§obj: lv_obj_t
§series_ll: lv_ll_t
§cursor_ll: lv_ll_t
§tick: [lv_chart_tick_dsc_t; 4]
§ymin: [lv_coord_t; 2]
§ymax: [lv_coord_t; 2]
§xmin: [lv_coord_t; 2]
§xmax: [lv_coord_t; 2]
§pressed_point_id: lv_coord_t
§hdiv_cnt: u16
§vdiv_cnt: u16
§point_cnt: u16
§zoom_x: u16
§zoom_y: u16
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
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 fn update_mode(&self) -> lv_chart_update_mode_t
pub fn set_update_mode(&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 copy 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 more