pub enum Contrast {
Normal,
High,
}
Expand description
Represents the contrast level for a rendering context.
Variants
Normal
The default contrast level for the system.
High
The high contrast level for the system.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Contrast
impl Send for Contrast
impl Sync for Contrast
impl Unpin for Contrast
impl UnwindSafe for Contrast
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more