pub struct ThemeParameters {Show 13 fields
pub background_color: i32,
pub secondary_background_color: i32,
pub header_background_color: i32,
pub section_background_color: i32,
pub text_color: i32,
pub accent_text_color: i32,
pub section_header_text_color: i32,
pub subtitle_text_color: i32,
pub destructive_text_color: i32,
pub hint_color: i32,
pub link_color: i32,
pub button_color: i32,
pub button_text_color: i32,
}
Expand description
Contains parameters of the application theme
Fields§
§background_color: i32
A color of the background in the RGB24 format
secondary_background_color: i32
A secondary color for the background in the RGB24 format
header_background_color: i32
A color of the header background in the RGB24 format
section_background_color: i32
A color of the section background in the RGB24 format
text_color: i32
A color of text in the RGB24 format
accent_text_color: i32
An accent color of the text in the RGB24 format
section_header_text_color: i32
A color of text on the section headers in the RGB24 format
subtitle_text_color: i32
A color of the subtitle text in the RGB24 format
destructive_text_color: i32
A color of the text for destructive actions in the RGB24 format
hint_color: i32
A color of hints in the RGB24 format
link_color: i32
A color of links in the RGB24 format
A color of the buttons in the RGB24 format
A color of text on the buttons in the RGB24 format
Trait Implementations§
Source§impl Clone for ThemeParameters
impl Clone for ThemeParameters
Source§fn clone(&self) -> ThemeParameters
fn clone(&self) -> ThemeParameters
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 ThemeParameters
impl Debug for ThemeParameters
Source§impl Default for ThemeParameters
impl Default for ThemeParameters
Source§fn default() -> ThemeParameters
fn default() -> ThemeParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThemeParameters
impl<'de> Deserialize<'de> for ThemeParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThemeParameters
impl PartialEq for ThemeParameters
Source§impl Serialize for ThemeParameters
impl Serialize for ThemeParameters
impl StructuralPartialEq for ThemeParameters
Auto Trait Implementations§
impl Freeze for ThemeParameters
impl RefUnwindSafe for ThemeParameters
impl Send for ThemeParameters
impl Sync for ThemeParameters
impl Unpin for ThemeParameters
impl UnwindSafe for ThemeParameters
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