#[repr(C)]pub struct _lv_theme_t {
pub apply_cb: lv_theme_apply_cb_t,
pub parent: *mut lv_theme_t,
pub user_data: *mut c_void,
pub disp: *mut lv_display_t,
pub color_primary: lv_color_t,
pub color_secondary: lv_color_t,
pub font_small: *const lv_font_t,
pub font_normal: *const lv_font_t,
pub font_large: *const lv_font_t,
pub flags: u32,
}Expand description
TYPEDEFS
Fields§
§apply_cb: lv_theme_apply_cb_t§parent: *mut lv_theme_t< Apply the current theme’s style on top of this theme.
user_data: *mut c_void§disp: *mut lv_display_t§color_primary: lv_color_t§color_secondary: lv_color_t§font_small: *const lv_font_t§font_normal: *const lv_font_t§font_large: *const lv_font_t§flags: u32< Any custom flag used by the theme
Trait Implementations§
Source§impl Clone for _lv_theme_t
impl Clone for _lv_theme_t
Source§fn clone(&self) -> _lv_theme_t
fn clone(&self) -> _lv_theme_t
Returns a duplicate of the value. Read more
1.0.0§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_theme_t
impl Debug for _lv_theme_t
impl Copy for _lv_theme_t
Auto Trait Implementations§
impl Freeze for _lv_theme_t
impl RefUnwindSafe for _lv_theme_t
impl !Send for _lv_theme_t
impl !Sync for _lv_theme_t
impl Unpin for _lv_theme_t
impl UnwindSafe for _lv_theme_t
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)