#[repr(C)]pub struct _lv_layer_t {Show 13 fields
pub draw_buf: *mut _lv_draw_buf_t,
pub buf_area: lv_area_t,
pub color_format: u32,
pub _clip_area: lv_area_t,
pub phy_clip_area: lv_area_t,
pub opa: u8,
pub recolor: lv_color32_t,
pub partial_y_offset: i32,
pub draw_task_head: *mut _lv_draw_task_t,
pub parent: *mut _lv_layer_t,
pub next: *mut _lv_layer_t,
pub all_tasks_added: bool,
pub user_data: *mut c_void,
}
Fields§
§draw_buf: *mut _lv_draw_buf_t
§buf_area: lv_area_t
§color_format: u32
§_clip_area: lv_area_t
§phy_clip_area: lv_area_t
§opa: u8
§recolor: lv_color32_t
§partial_y_offset: i32
§draw_task_head: *mut _lv_draw_task_t
§parent: *mut _lv_layer_t
§next: *mut _lv_layer_t
§all_tasks_added: bool
§user_data: *mut c_void
Trait Implementations§
Source§impl Clone for _lv_layer_t
impl Clone for _lv_layer_t
Source§fn clone(&self) -> _lv_layer_t
fn clone(&self) -> _lv_layer_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_layer_t
impl Debug for _lv_layer_t
Source§impl Default for _lv_layer_t
impl Default for _lv_layer_t
Source§fn default() -> _lv_layer_t
fn default() -> _lv_layer_t
Returns the “default value” for a type. Read more
impl Copy for _lv_layer_t
Auto Trait Implementations§
impl Freeze for _lv_layer_t
impl RefUnwindSafe for _lv_layer_t
impl !Send for _lv_layer_t
impl !Sync for _lv_layer_t
impl Unpin for _lv_layer_t
impl UnwindSafe for _lv_layer_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