pub struct BandStatistics {
pub band: u32,
pub min: f64,
pub max: f64,
pub mean: f64,
pub std_dev: f64,
pub valid_count: u64,
}Expand description
Statistics for a single raster band.
Returned by Dataset::statistics.
Fields§
§band: u320-based band index.
min: f64Minimum valid pixel value (non-nodata, finite).
max: f64Maximum valid pixel value (non-nodata, finite).
mean: f64Arithmetic mean of valid pixels.
std_dev: f64Population standard deviation of valid pixels.
valid_count: u64Count of valid (non-nodata, finite) pixels.
Trait Implementations§
Source§impl Clone for BandStatistics
impl Clone for BandStatistics
Source§fn clone(&self) -> BandStatistics
fn clone(&self) -> BandStatistics
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 BandStatistics
impl Debug for BandStatistics
Source§impl PartialEq for BandStatistics
impl PartialEq for BandStatistics
impl StructuralPartialEq for BandStatistics
Auto Trait Implementations§
impl Freeze for BandStatistics
impl RefUnwindSafe for BandStatistics
impl Send for BandStatistics
impl Sync for BandStatistics
impl Unpin for BandStatistics
impl UnsafeUnpin for BandStatistics
impl UnwindSafe for BandStatistics
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 moreCreates a shared type from an unshared type.