pub struct HighlightTheme {
pub selected_color: String,
pub hover_color: String,
pub error_color: String,
pub warning_color: String,
}Expand description
高亮主题配置
Fields§
§selected_color: String选中状态颜色
hover_color: String悬停状态颜色
error_color: String错误状态颜色
warning_color: 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 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