pub enum EdgeMode {
Clamp,
Reflect,
Wrap,
Zero,
Unknown,
}Expand description
Detected edge handling mode.
Variants§
Clamp
Clamps to the nearest edge pixel.
Reflect
Reflects across the edge.
Wrap
Wraps around to the opposite edge.
Zero
Treats out-of-bounds as zero (black).
Unknown
Could not determine edge handling.
Trait Implementations§
impl Copy for EdgeMode
impl Eq for EdgeMode
impl StructuralPartialEq for EdgeMode
Auto Trait Implementations§
impl Freeze for EdgeMode
impl RefUnwindSafe for EdgeMode
impl Send for EdgeMode
impl Sync for EdgeMode
impl Unpin for EdgeMode
impl UnwindSafe for EdgeMode
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