pub enum TileMode {
Clamp,
Repeated,
Mirror,
Decal,
}Expand description
Edge treatment for blur effects at the boundary of the blurred region.
Variants§
Clamp
Clamp to the edge pixel color.
Repeated
Repeat the gradient/effect from start to end.
Mirror
Mirror the gradient/effect every other repetition.
Decal
Treat pixels outside the boundary as transparent.
Trait Implementations§
impl Copy for TileMode
impl Eq for TileMode
impl StructuralPartialEq for TileMode
Auto Trait Implementations§
impl Freeze for TileMode
impl RefUnwindSafe for TileMode
impl Send for TileMode
impl Sync for TileMode
impl Unpin for TileMode
impl UnsafeUnpin for TileMode
impl UnwindSafe for TileMode
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