pub enum ImageFilter<F> {
Blur {
x_sigma: f32,
y_sigma: f32,
tile_mode: TileMode,
},
Dilate {
x_radius: f32,
y_radius: f32,
},
Erode {
x_radius: f32,
y_radius: f32,
},
Matrix {
matrix: Matrix,
sampling: TextureSampling,
},
Fragment {
image_filter: F,
},
Compose {
outer: Box<ImageFilter<F>>,
inner: Box<ImageFilter<F>>,
},
}Variants§
Trait Implementations§
Source§impl<F: Clone> Clone for ImageFilter<F>
impl<F: Clone> Clone for ImageFilter<F>
Source§fn clone(&self) -> ImageFilter<F>
fn clone(&self) -> ImageFilter<F>
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 moreAuto Trait Implementations§
impl<F> Freeze for ImageFilter<F>where
F: Freeze,
impl<F> RefUnwindSafe for ImageFilter<F>where
F: RefUnwindSafe,
impl<F> Send for ImageFilter<F>where
F: Send,
impl<F> Sync for ImageFilter<F>where
F: Sync,
impl<F> Unpin for ImageFilter<F>where
F: Unpin,
impl<F> UnwindSafe for ImageFilter<F>where
F: UnwindSafe,
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