Enum sic_image_engine::ImgOp
source · pub enum ImgOp {
Show 19 variants
Blur(f32),
Brighten(i32),
Contrast(f32),
Crop((u32, u32, u32, u32)),
Diff(ImageFromPath),
Filter3x3([f32; 9]),
FlipHorizontal,
FlipVertical,
Grayscale,
HueRotate(i32),
HorizontalGradient(GradientInput),
Invert,
Overlay(OverlayInputs),
Resize((u32, u32)),
Rotate90,
Rotate180,
Rotate270,
Unsharpen((f32, i32)),
VerticalGradient(GradientInput),
}
Variants§
Blur(f32)
Brighten(i32)
Contrast(f32)
Crop((u32, u32, u32, u32))
Diff(ImageFromPath)
Filter3x3([f32; 9])
FlipHorizontal
FlipVertical
Grayscale
HueRotate(i32)
HorizontalGradient(GradientInput)
Invert
Overlay(OverlayInputs)
Resize((u32, u32))
Rotate90
Rotate180
Rotate270
Unsharpen((f32, i32))
VerticalGradient(GradientInput)
Trait Implementations§
source§impl PartialEq<ImgOp> for ImgOp
impl PartialEq<ImgOp> for ImgOp
impl StructuralPartialEq for ImgOp
Auto Trait Implementations§
impl RefUnwindSafe for ImgOp
impl Send for ImgOp
impl Sync for ImgOp
impl Unpin for ImgOp
impl UnwindSafe for ImgOp
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