#[repr(C)]pub struct _lv_display_t {Show 51 fields
pub hor_res: i32,
pub ver_res: i32,
pub physical_hor_res: i32,
pub physical_ver_res: i32,
pub offset_x: i32,
pub offset_y: i32,
pub dpi: u32,
pub buf_1: *mut _lv_draw_buf_t,
pub buf_2: *mut _lv_draw_buf_t,
pub buf_3: *mut _lv_draw_buf_t,
pub buf_act: *mut _lv_draw_buf_t,
pub flush_cb: Option<unsafe extern "C" fn(*mut _lv_display_t, *const lv_area_t, *mut u8)>,
pub flush_wait_cb: Option<unsafe extern "C" fn(*mut _lv_display_t)>,
pub flushing: i32,
pub flushing_last: i32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub render_mode: u32,
pub _bitfield_align_2: [u8; 0],
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 2]>,
pub color_format: u32,
pub inv_areas: [lv_area_t; 32],
pub inv_area_joined: [u8; 32],
pub inv_p: u32,
pub inv_en_cnt: i32,
pub sync_areas: lv_ll_t,
pub _static_buf1: _lv_draw_buf_t,
pub _static_buf2: _lv_draw_buf_t,
pub layer_head: *mut _lv_layer_t,
pub layer_init: Option<unsafe extern "C" fn(*mut _lv_display_t, *mut _lv_layer_t)>,
pub layer_deinit: Option<unsafe extern "C" fn(*mut _lv_display_t, *mut _lv_layer_t)>,
pub screens: *mut *mut _lv_obj_t,
pub sys_layer: *mut _lv_obj_t,
pub top_layer: *mut _lv_obj_t,
pub act_scr: *mut _lv_obj_t,
pub bottom_layer: *mut _lv_obj_t,
pub prev_scr: *mut _lv_obj_t,
pub scr_to_load: *mut _lv_obj_t,
pub screen_cnt: u32,
pub _bitfield_align_3: [u8; 0],
pub _bitfield_3: __BindgenBitfieldUnit<[u8; 1]>,
pub driver_data: *mut c_void,
pub user_data: *mut c_void,
pub event_list: lv_event_list_t,
pub _bitfield_align_4: [u8; 0],
pub _bitfield_4: __BindgenBitfieldUnit<[u8; 1]>,
pub theme: *mut _lv_theme_t,
pub refr_timer: *mut _lv_timer_t,
pub last_activity_time: u32,
pub refreshed_area: lv_area_t,
pub vsync_count: u32,
}Fields§
§hor_res: i32§ver_res: i32§physical_hor_res: i32§physical_ver_res: i32§offset_x: i32§offset_y: i32§dpi: u32§buf_1: *mut _lv_draw_buf_t§buf_2: *mut _lv_draw_buf_t§buf_3: *mut _lv_draw_buf_t§buf_act: *mut _lv_draw_buf_t§flush_cb: Option<unsafe extern "C" fn(*mut _lv_display_t, *const lv_area_t, *mut u8)>§flush_wait_cb: Option<unsafe extern "C" fn(*mut _lv_display_t)>§flushing: i32§flushing_last: i32§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§render_mode: u32§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 2]>§color_format: u32§inv_areas: [lv_area_t; 32]§inv_area_joined: [u8; 32]§inv_p: u32§inv_en_cnt: i32§sync_areas: lv_ll_t§_static_buf1: _lv_draw_buf_t§_static_buf2: _lv_draw_buf_t§layer_head: *mut _lv_layer_t§layer_init: Option<unsafe extern "C" fn(*mut _lv_display_t, *mut _lv_layer_t)>§layer_deinit: Option<unsafe extern "C" fn(*mut _lv_display_t, *mut _lv_layer_t)>§screens: *mut *mut _lv_obj_t§sys_layer: *mut _lv_obj_t§top_layer: *mut _lv_obj_t§act_scr: *mut _lv_obj_t§bottom_layer: *mut _lv_obj_t§prev_scr: *mut _lv_obj_t§scr_to_load: *mut _lv_obj_t§screen_cnt: u32§_bitfield_align_3: [u8; 0]§_bitfield_3: __BindgenBitfieldUnit<[u8; 1]>§driver_data: *mut c_void§user_data: *mut c_void§event_list: lv_event_list_t§_bitfield_align_4: [u8; 0]§_bitfield_4: __BindgenBitfieldUnit<[u8; 1]>§theme: *mut _lv_theme_t§refr_timer: *mut _lv_timer_t§last_activity_time: u32§refreshed_area: lv_area_t§vsync_count: u32Implementations§
Source§impl _lv_display_t
impl _lv_display_t
pub fn last_area(&self) -> u32
pub fn set_last_area(&mut self, val: u32)
pub fn last_part(&self) -> u32
pub fn set_last_part(&mut self, val: u32)
pub fn new_bitfield_1( last_area: u32, last_part: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
pub fn antialiasing(&self) -> u32
pub fn set_antialiasing(&mut self, val: u32)
pub fn tile_cnt(&self) -> u32
pub fn set_tile_cnt(&mut self, val: u32)
pub fn stride_is_auto(&self) -> u32
pub fn set_stride_is_auto(&mut self, val: u32)
pub fn rendering_in_progress(&self) -> u32
pub fn set_rendering_in_progress(&mut self, val: u32)
pub fn new_bitfield_2( antialiasing: u32, tile_cnt: u32, stride_is_auto: u32, rendering_in_progress: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>
pub fn draw_prev_over_act(&self) -> u8
pub fn set_draw_prev_over_act(&mut self, val: u8)
pub fn del_prev(&self) -> u8
pub fn set_del_prev(&mut self, val: u8)
pub fn new_bitfield_3( draw_prev_over_act: u8, del_prev: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
pub fn rotation(&self) -> u32
pub fn set_rotation(&mut self, val: u32)
pub fn matrix_rotation(&self) -> u32
pub fn set_matrix_rotation(&mut self, val: u32)
pub fn new_bitfield_4( rotation: u32, matrix_rotation: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for _lv_display_t
impl Clone for _lv_display_t
Source§fn clone(&self) -> _lv_display_t
fn clone(&self) -> _lv_display_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_display_t
impl Debug for _lv_display_t
Source§impl Default for _lv_display_t
impl Default for _lv_display_t
Source§fn default() -> _lv_display_t
fn default() -> _lv_display_t
Returns the “default value” for a type. Read more
impl Copy for _lv_display_t
Auto Trait Implementations§
impl Freeze for _lv_display_t
impl RefUnwindSafe for _lv_display_t
impl !Send for _lv_display_t
impl !Sync for _lv_display_t
impl Unpin for _lv_display_t
impl UnsafeUnpin for _lv_display_t
impl UnwindSafe for _lv_display_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