#[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 · 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_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§
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