pub enum FocalOp {
Mean,
Median,
Min,
Max,
Sum,
Range,
StdDev,
}Expand description
Focal operation selector for the strip-based parallel focal function.
Each variant maps to the corresponding scalar focal_* function in
crate::raster::focal.
Variants§
Mean
Arithmetic mean over the window
Median
Median value over the window
Min
Minimum value over the window
Max
Maximum value over the window
Sum
Sum of values over the window
Range
Max minus min over the window
StdDev
Population standard deviation over the window
Trait Implementations§
impl Copy for FocalOp
impl Eq for FocalOp
impl StructuralPartialEq for FocalOp
Auto Trait Implementations§
impl Freeze for FocalOp
impl RefUnwindSafe for FocalOp
impl Send for FocalOp
impl Sync for FocalOp
impl Unpin for FocalOp
impl UnsafeUnpin for FocalOp
impl UnwindSafe for FocalOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more