pub struct ThemeConfig {
pub default_theme: String,
pub enable_colors: bool,
pub color_depth: String,
pub nerd_fonts: bool,
}Expand description
Theme configuration
Fields§
§default_theme: StringDefault theme name
enable_colors: boolEnable ANSI colors
color_depth: StringColor depth (16, 256, or “true”)
nerd_fonts: boolUse Nerd Font glyphs for icons (needs a patched font). Off by default: plain one-cell symbols work in every terminal.
Trait Implementations§
Source§impl Clone for ThemeConfig
impl Clone for ThemeConfig
Source§impl Debug for ThemeConfig
impl Debug for ThemeConfig
Source§impl Default for ThemeConfig
impl Default for ThemeConfig
Source§impl<'de> Deserialize<'de> for ThemeConfig
impl<'de> Deserialize<'de> for ThemeConfig
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 ThemeConfig
impl RefUnwindSafe for ThemeConfig
impl Send for ThemeConfig
impl Sync for ThemeConfig
impl Unpin for ThemeConfig
impl UnsafeUnpin for ThemeConfig
impl UnwindSafe for ThemeConfig
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