pub enum HighContrastPreset {
BlackOnWhite,
WhiteOnBlack,
Desert,
NightSky,
}Expand description
System high-contrast color schemes, modeled on the Windows
contrast themes and GTK HighContrast/HighContrastInverse.
Variants§
BlackOnWhite
Black text on white (Windows “High Contrast White”, GTK HighContrast).
WhiteOnBlack
White text on black (Windows “High Contrast Black”, GTK HighContrastInverse).
Desert
Dark umber on warm parchment (Windows 11 “Desert”).
NightSky
White and azure on black (Windows 11 “Night Sky”).
Implementations§
Trait Implementations§
Source§impl Clone for HighContrastPreset
impl Clone for HighContrastPreset
impl Copy for HighContrastPreset
Source§impl Debug for HighContrastPreset
impl Debug for HighContrastPreset
impl Eq for HighContrastPreset
Source§impl Hash for HighContrastPreset
impl Hash for HighContrastPreset
Source§impl PartialEq for HighContrastPreset
impl PartialEq for HighContrastPreset
impl StructuralPartialEq for HighContrastPreset
Auto Trait Implementations§
impl Forget for HighContrastPreset
impl Freeze for HighContrastPreset
impl Move for HighContrastPreset
impl RefUnwindSafe for HighContrastPreset
impl Send for HighContrastPreset
impl Sync for HighContrastPreset
impl Unpin for HighContrastPreset
impl UnsafeUnpin for HighContrastPreset
impl UnwindSafe for HighContrastPreset
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