pub struct ThemeDefault {
pub blur: bool,
pub dark: bool,
pub accent_color: Color,
pub background_color: Color,
pub has_title: bool,
}Expand description
Theme struct
Fields§
§blur: boolset the alpha value of the window
dark: booldefault color scheme dark/light
accent_color: Colorthe default accent color of higlight text, buttons, etc
background_color: Colorthe background of the window (not of the renderer)
has_title: boolTitlebar must be rendered or not
Trait Implementations§
Source§impl Clone for ThemeDefault
impl Clone for ThemeDefault
Source§fn clone(&self) -> ThemeDefault
fn clone(&self) -> ThemeDefault
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 ThemeDefault
impl Debug for ThemeDefault
Source§impl PartialEq for ThemeDefault
impl PartialEq for ThemeDefault
impl StructuralPartialEq for ThemeDefault
Auto Trait Implementations§
impl Freeze for ThemeDefault
impl RefUnwindSafe for ThemeDefault
impl Send for ThemeDefault
impl Sync for ThemeDefault
impl Unpin for ThemeDefault
impl UnwindSafe for ThemeDefault
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