#[repr(C)]pub struct lv_chart_cursor_t {
pub pos: lv_point_t,
pub point_id: lv_coord_t,
pub color: lv_color_t,
pub ser: *mut lv_chart_series_t,
pub dir: lv_dir_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u16,
}
Fields§
§pos: lv_point_t
§point_id: lv_coord_t
§color: lv_color_t
§ser: *mut lv_chart_series_t
§dir: lv_dir_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: u16
Implementations§
Source§impl lv_chart_cursor_t
impl lv_chart_cursor_t
pub fn pos_set(&self) -> u8
pub fn set_pos_set(&mut self, val: u8)
pub fn new_bitfield_1(pos_set: u8) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for lv_chart_cursor_t
impl Clone for lv_chart_cursor_t
Source§fn clone(&self) -> lv_chart_cursor_t
fn clone(&self) -> lv_chart_cursor_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 Default for lv_chart_cursor_t
impl Default for lv_chart_cursor_t
impl Copy for lv_chart_cursor_t
Auto Trait Implementations§
impl Freeze for lv_chart_cursor_t
impl RefUnwindSafe for lv_chart_cursor_t
impl !Send for lv_chart_cursor_t
impl !Sync for lv_chart_cursor_t
impl Unpin for lv_chart_cursor_t
impl UnwindSafe for lv_chart_cursor_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