pub struct UserColors {
pub button_mouse_over_background_color: Option<Color>,
pub button_pressed_background_color: Option<Color>,
pub button_pressed_border_color: Option<Color>,
pub button_pressed_text_color: Option<Color>,
pub highlight_color: Option<Color>,
}Expand description
The user’s preferred colors
Fields§
Color that denotes the background of a button that is being moused over.
Color that denotes the background of a pressed button.
Color that denotes the border of a pressed button.
Color that denotes the text of a pressed button.
highlight_color: Option<Color>Color of highlighted text.
Trait Implementations§
Source§impl Clone for UserColors
impl Clone for UserColors
Source§fn clone(&self) -> UserColors
fn clone(&self) -> UserColors
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 UserColors
impl Debug for UserColors
Source§impl Default for UserColors
impl Default for UserColors
Source§fn default() -> UserColors
fn default() -> UserColors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserColors
impl<'de> Deserialize<'de> for UserColors
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
Auto Trait Implementations§
impl Freeze for UserColors
impl RefUnwindSafe for UserColors
impl Send for UserColors
impl Sync for UserColors
impl Unpin for UserColors
impl UnsafeUnpin for UserColors
impl UnwindSafe for UserColors
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