#[non_exhaustive]pub struct ChannelStats {
pub min: f64,
pub max: f64,
pub sum: f64,
pub squares_sum: f64,
pub mean: f64,
pub stdev: f64,
pub min_x: u32,
pub min_y: u32,
pub max_x: u32,
pub max_y: u32,
}Expand description
One channel’s statistics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min: f64The smallest sample.
max: f64The largest sample.
sum: f64The sum of every sample.
squares_sum: f64The sum of every sample squared.
mean: f64The mean.
stdev: f64The sample standard deviation.
min_x: u32Where the minimum first occurs, in raster order.
min_y: u32Its row.
max_x: u32Where the maximum first occurs.
max_y: u32Its row.
Trait Implementations§
Source§impl Clone for ChannelStats
impl Clone for ChannelStats
impl Copy for ChannelStats
Source§impl Debug for ChannelStats
impl Debug for ChannelStats
Source§impl PartialEq for ChannelStats
impl PartialEq for ChannelStats
impl StructuralPartialEq for ChannelStats
Auto Trait Implementations§
impl Freeze for ChannelStats
impl RefUnwindSafe for ChannelStats
impl Send for ChannelStats
impl Sync for ChannelStats
impl Unpin for ChannelStats
impl UnsafeUnpin for ChannelStats
impl UnwindSafe for ChannelStats
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