pub struct Theme {Show 32 fields
pub name: String,
pub window_bg_col: Color,
pub window_tint_col: Color,
pub accent_col: Color,
pub accent_hover_col: Color,
pub accent_select_col: Color,
pub button_col: Color,
pub button_text_col: Color,
pub button_hover_col: Color,
pub button_pressed_col: Color,
pub text_col: Color,
pub label_col: Color,
pub separator_col: Color,
pub highlight_col: Color,
pub context_col: Color,
pub panel_bg_col: Color,
pub font_size: u32,
pub element_w: u32,
pub element_h: u32,
pub element_offset: u32,
pub arrow_size: u32,
pub button_h: u32,
pub check_size: u32,
pub check_select_size: u32,
pub scroll_w: u32,
pub text_offset: u32,
pub tab_w: u32,
pub fill_window_bg: bool,
pub fill_button_bg: bool,
pub fill_accent_bg: bool,
pub link_style: LinkStyle,
pub full_tabs: bool,
}Fields
name: Stringwindow_bg_col: Colorwindow_tint_col: Coloraccent_col: Coloraccent_hover_col: Coloraccent_select_col: Colortext_col: Colorlabel_col: Colorseparator_col: Colorhighlight_col: Colorcontext_col: Colorpanel_bg_col: Colorfont_size: u32element_w: u32element_h: u32element_offset: u32arrow_size: u32check_size: u32check_select_size: u32scroll_w: u32text_offset: u32tab_w: u32fill_window_bg: boolfill_accent_bg: boollink_style: LinkStylefull_tabs: boolTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value as a parameter of self.