pub enum ThemeKind {
IntelliJ,
GitHub,
Classic,
HighContrast,
}Expand description
Supported theme variants selectable via --theme.
Variants§
IntelliJ
Soft IntelliJ-style red/green diff colors (Default).
GitHub
Clean GitHub-style split diff colors.
Classic
Traditional vibrant red/green diff colors.
HighContrast
High-contrast palette for maximum visual accessibility.
Implementations§
Trait Implementations§
impl Copy for ThemeKind
impl Eq for ThemeKind
impl StructuralPartialEq for ThemeKind
Auto Trait Implementations§
impl Freeze for ThemeKind
impl RefUnwindSafe for ThemeKind
impl Send for ThemeKind
impl Sync for ThemeKind
impl Unpin for ThemeKind
impl UnsafeUnpin for ThemeKind
impl UnwindSafe for ThemeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more