pub struct Theme {
pub message_colors: Vec<Color>,
pub my_user_color: Color,
pub date_color: Color,
pub system_info_color: (Color, Color),
pub system_warning_color: (Color, Color),
pub system_error_color: (Color, Color),
pub chat_panel_color: Color,
pub progress_bar_color: Color,
pub command_color: Color,
pub input_panel_color: Color,
}
Fields§
§message_colors: Vec<Color>
§my_user_color: Color
§date_color: Color
§system_info_color: (Color, Color)
§system_warning_color: (Color, Color)
§system_error_color: (Color, Color)
§chat_panel_color: Color
§progress_bar_color: Color
§command_color: Color
§input_panel_color: Color
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Theme
impl<'de> Deserialize<'de> for Theme
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 Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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