#[repr(u32)]pub enum PreviewType {
Show 30 variants
Undefined = 0,
Rotate = 1,
Shear = 2,
Roll = 3,
Hue = 4,
Saturation = 5,
Brightness = 6,
Gamma = 7,
Spiff = 8,
Dull = 9,
Grayscale = 10,
Quantize = 11,
Despeckle = 12,
ReduceNoise = 13,
AddNoise = 14,
Sharpen = 15,
Blur = 16,
Threshold = 17,
EdgeDetect = 18,
Spread = 19,
Solarize = 20,
Shade = 21,
Raise = 22,
Segment = 23,
Swirl = 24,
Implode = 25,
Wave = 26,
OilPaint = 27,
CharcoalDrawing = 28,
JPEG = 29,
}
Variants§
Undefined = 0
Rotate = 1
Shear = 2
Roll = 3
Hue = 4
Saturation = 5
Brightness = 6
Gamma = 7
Spiff = 8
Dull = 9
Grayscale = 10
Quantize = 11
Despeckle = 12
ReduceNoise = 13
AddNoise = 14
Sharpen = 15
Blur = 16
Threshold = 17
EdgeDetect = 18
Spread = 19
Solarize = 20
Shade = 21
Raise = 22
Segment = 23
Swirl = 24
Implode = 25
Wave = 26
OilPaint = 27
CharcoalDrawing = 28
JPEG = 29
Trait Implementations§
Source§impl Clone for PreviewType
impl Clone for PreviewType
Source§fn clone(&self) -> PreviewType
fn clone(&self) -> PreviewType
Returns a duplicate 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 PreviewType
impl Debug for PreviewType
Source§impl Hash for PreviewType
impl Hash for PreviewType
Source§impl PartialEq for PreviewType
impl PartialEq for PreviewType
impl Copy for PreviewType
impl Eq for PreviewType
impl StructuralPartialEq for PreviewType
Auto Trait Implementations§
impl Freeze for PreviewType
impl RefUnwindSafe for PreviewType
impl Send for PreviewType
impl Sync for PreviewType
impl Unpin for PreviewType
impl UnwindSafe for PreviewType
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