pub struct RasterStatistics {
pub count: usize,
pub min: f64,
pub max: f64,
pub mean: f64,
pub median: f64,
pub stddev: f64,
pub variance: f64,
pub sum: f64,
}Expand description
Statistics for a raster or zone
Fields§
§count: usizeNumber of valid (non-NoData) pixels
min: f64Minimum value
max: f64Maximum value
mean: f64Mean (average) value
median: f64Median value
stddev: f64Standard deviation
variance: f64Variance
sum: f64Sum of all values
Trait Implementations§
Source§impl Clone for RasterStatistics
impl Clone for RasterStatistics
Source§fn clone(&self) -> RasterStatistics
fn clone(&self) -> RasterStatistics
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 RasterStatistics
impl Debug for RasterStatistics
Source§impl PartialEq for RasterStatistics
impl PartialEq for RasterStatistics
impl StructuralPartialEq for RasterStatistics
Auto Trait Implementations§
impl Freeze for RasterStatistics
impl RefUnwindSafe for RasterStatistics
impl Send for RasterStatistics
impl Sync for RasterStatistics
impl Unpin for RasterStatistics
impl UnsafeUnpin for RasterStatistics
impl UnwindSafe for RasterStatistics
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