pub struct HighlightTheme {
pub selected_color: String,
pub hover_color: String,
pub error_color: String,
pub warning_color: String,
}Expand description
Highlight theme configuration.
Fields§
§selected_color: StringThe color used for selected elements (hex string).
hover_color: StringThe color used for elements on hover (hex string).
error_color: StringThe color used for elements in an error state (hex string).
warning_color: StringThe color used for elements in a warning state (hex string).
Trait Implementations§
Source§impl Clone for HighlightTheme
impl Clone for HighlightTheme
Source§fn clone(&self) -> HighlightTheme
fn clone(&self) -> HighlightTheme
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 HighlightTheme
impl Debug for HighlightTheme
Source§impl<'de> Deserialize<'de> for HighlightTheme
impl<'de> Deserialize<'de> for HighlightTheme
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 HighlightTheme
impl RefUnwindSafe for HighlightTheme
impl Send for HighlightTheme
impl Sync for HighlightTheme
impl Unpin for HighlightTheme
impl UnsafeUnpin for HighlightTheme
impl UnwindSafe for HighlightTheme
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