Struct skia_safe::HighContrastConfig
source · #[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<HighContrastConfig> for HighContrastConfig
impl PartialEq<HighContrastConfig> for HighContrastConfig
source§fn eq(&self, other: &HighContrastConfig) -> bool
fn eq(&self, other: &HighContrastConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HighContrastConfig
Auto Trait Implementations§
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