#[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_disp_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,
}
Fields§
§apply_cb: lv_theme_apply_cb_t
§parent: *mut _lv_theme_t
§user_data: *mut c_void
§disp: *mut _lv_disp_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
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 Default for _lv_theme_t
impl Default 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