pub enum FocalBoundaryMode {
Ignore,
Constant(i64),
Reflect,
Wrap,
Edge,
}Expand description
Boundary handling mode for focal operations
Variants§
Ignore
Ignore pixels outside boundary (smaller neighborhood at edges)
Constant(i64)
Use a constant value for pixels outside boundary
Reflect
Reflect values at the boundary
Wrap
Wrap around to opposite edge
Edge
Extend edge values
Trait Implementations§
Source§impl Clone for BoundaryMode
impl Clone for BoundaryMode
Source§fn clone(&self) -> BoundaryMode
fn clone(&self) -> BoundaryMode
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 BoundaryMode
impl Debug for BoundaryMode
Source§impl PartialEq for BoundaryMode
impl PartialEq for BoundaryMode
impl Copy for BoundaryMode
impl Eq for BoundaryMode
impl StructuralPartialEq for BoundaryMode
Auto Trait Implementations§
impl Freeze for BoundaryMode
impl RefUnwindSafe for BoundaryMode
impl Send for BoundaryMode
impl Sync for BoundaryMode
impl Unpin for BoundaryMode
impl UnsafeUnpin for BoundaryMode
impl UnwindSafe for BoundaryMode
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