#[repr(i32)]pub enum InvertStyle {
NoInvert = 0,
InvertBrightness = 1,
InvertLightness = 2,
}Variants§
Implementations§
Source§impl SkHighContrastConfig_InvertStyle
impl SkHighContrastConfig_InvertStyle
pub const Last: SkHighContrastConfig_InvertStyle = SkHighContrastConfig_InvertStyle::InvertLightness
Trait Implementations§
Source§impl Clone for SkHighContrastConfig_InvertStyle
impl Clone for SkHighContrastConfig_InvertStyle
Source§fn clone(&self) -> SkHighContrastConfig_InvertStyle
fn clone(&self) -> SkHighContrastConfig_InvertStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for SkHighContrastConfig_InvertStyle
impl PartialEq for SkHighContrastConfig_InvertStyle
Source§fn eq(&self, other: &SkHighContrastConfig_InvertStyle) -> bool
fn eq(&self, other: &SkHighContrastConfig_InvertStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SkHighContrastConfig_InvertStyle
impl Eq for SkHighContrastConfig_InvertStyle
impl StructuralPartialEq for SkHighContrastConfig_InvertStyle
Auto Trait Implementations§
impl Freeze for SkHighContrastConfig_InvertStyle
impl RefUnwindSafe for SkHighContrastConfig_InvertStyle
impl Send for SkHighContrastConfig_InvertStyle
impl Sync for SkHighContrastConfig_InvertStyle
impl Unpin for SkHighContrastConfig_InvertStyle
impl UnsafeUnpin for SkHighContrastConfig_InvertStyle
impl UnwindSafe for SkHighContrastConfig_InvertStyle
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