pub enum ThemeMode {
Dark,
Light,
}Expand description
The terminal’s theme mode (i.e. dark or light).
You can retrieve it using theme_mode.
Variants§
Dark
The terminal uses a dark background with light text.
Light
The terminal uses a light background with dark text.
Trait Implementations§
impl Copy for ThemeMode
impl Eq for ThemeMode
impl StructuralPartialEq for ThemeMode
Auto Trait Implementations§
impl Freeze for ThemeMode
impl RefUnwindSafe for ThemeMode
impl Send for ThemeMode
impl Sync for ThemeMode
impl Unpin for ThemeMode
impl UnwindSafe for ThemeMode
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