#[repr(C)]pub struct HighContrastConfig {
pub grayscale: bool,
pub invert_style: InvertStyle,
pub contrast: scalar,
}
Fields§
§grayscale: bool
§invert_style: InvertStyle
§contrast: scalar
Implementations§
Trait Implementations§
Source§impl Clone for HighContrastConfig
impl Clone for HighContrastConfig
Source§fn clone(&self) -> HighContrastConfig
fn clone(&self) -> HighContrastConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HighContrastConfig
impl Debug for HighContrastConfig
Source§impl Default for HighContrastConfig
impl Default for HighContrastConfig
Source§impl PartialEq for HighContrastConfig
impl PartialEq for HighContrastConfig
impl StructuralPartialEq for HighContrastConfig
Auto Trait Implementations§
impl Freeze for HighContrastConfig
impl RefUnwindSafe for HighContrastConfig
impl Send for HighContrastConfig
impl Sync for HighContrastConfig
impl Unpin for HighContrastConfig
impl UnwindSafe for HighContrastConfig
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