#[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§cursor_ll: lv_ll_t§ymin: [i32; 2]§ymax: [i32; 2]§xmin: [i32; 2]§xmax: [i32; 2]§pressed_point_id: i32§hdiv_cnt: u32§vdiv_cnt: u32§point_cnt: u32§_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) -> u32
pub fn set_type(&mut self, val: u32)
pub fn update_mode(&self) -> u32
pub fn set_update_mode(&mut self, val: u32)
pub fn new_bitfield_1( type_: u32, update_mode: u32, ) -> __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
Source§impl Default for _lv_chart_t
impl Default for _lv_chart_t
Source§fn default() -> _lv_chart_t
fn default() -> _lv_chart_t
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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