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: String
window_bg_col: Color
window_tint_col: Color
accent_col: Color
accent_hover_col: Color
accent_select_col: Color
text_col: Color
label_col: Color
separator_col: Color
highlight_col: Color
context_col: Color
panel_bg_col: Color
font_size: u32
element_w: u32
element_h: u32
element_offset: u32
arrow_size: u32
check_size: u32
check_select_size: u32
scroll_w: u32
text_offset: u32
tab_w: u32
fill_window_bg: bool
fill_accent_bg: bool
link_style: LinkStyle
full_tabs: bool
Trait 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
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn 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
.