pub struct Spread {
pub count: usize,
pub min: f64,
pub max: f64,
pub mean_absolute: f64,
pub within: usize,
}Expand description
A spread of per-cent differences: the least, the largest and the mean magnitude.
Fields§
§count: usizeHow many.
min: f64The least.
max: f64The largest.
mean_absolute: f64The mean of their magnitudes.
within: usizeHow many are within the scale they are judged by.
Trait Implementations§
impl Copy for Spread
Source§impl<'de> Deserialize<'de> for Spread
impl<'de> Deserialize<'de> for Spread
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Spread
Auto Trait Implementations§
impl Freeze for Spread
impl RefUnwindSafe for Spread
impl Send for Spread
impl Sync for Spread
impl Unpin for Spread
impl UnsafeUnpin for Spread
impl UnwindSafe for Spread
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