#[non_exhaustive]#[repr(u32)]pub enum ColorFx {
Show 17 variants
None = 0,
Bw = 1,
Sepia = 2,
Negative = 3,
Emboss = 4,
Sketch = 5,
SkyBlue = 6,
GrassGreen = 7,
SkinWhiten = 8,
Vivid = 9,
Aqua = 10,
ArtFreeze = 11,
Silhouette = 12,
Solarization = 13,
Antique = 14,
SetCbCr = 15,
SetRgb = 16,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None = 0
Bw = 1
Sepia = 2
Negative = 3
Emboss = 4
Sketch = 5
SkyBlue = 6
GrassGreen = 7
SkinWhiten = 8
Vivid = 9
Aqua = 10
ArtFreeze = 11
Silhouette = 12
Solarization = 13
Antique = 14
SetCbCr = 15
SetRgb = 16
Trait Implementations§
impl Copy for ColorFx
impl Eq for ColorFx
impl StructuralPartialEq for ColorFx
Auto Trait Implementations§
impl Freeze for ColorFx
impl RefUnwindSafe for ColorFx
impl Send for ColorFx
impl Sync for ColorFx
impl Unpin for ColorFx
impl UnwindSafe for ColorFx
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