pub struct Stats<T: Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug> {
pub min: T,
pub max: T,
pub mean: T,
pub std_dev: T,
/* private fields */
}
Fields§
§min: T
§max: T
§mean: T
Mean of sample set
std_dev: T
Standard deviation of sample
Implementations§
Trait Implementations§
Source§impl<T: Clone + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug> Clone for Stats<T>
impl<T: Clone + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug> Clone for Stats<T>
Source§impl<T: Debug + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug> Debug for Stats<T>
impl<T: Debug + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug> Debug for Stats<T>
Source§impl<'de, T> Deserialize<'de> for Stats<T>where
T: Deserialize<'de> + Default + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug,
impl<'de, T> Deserialize<'de> for Stats<T>where
T: Deserialize<'de> + Default + Float + Zero + One + AddAssign + FromPrimitive + PartialEq + Debug,
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
Auto Trait Implementations§
impl<T> Freeze for Stats<T>where
T: Freeze,
impl<T> RefUnwindSafe for Stats<T>where
T: RefUnwindSafe,
impl<T> Send for Stats<T>where
T: Send,
impl<T> Sync for Stats<T>where
T: Sync,
impl<T> Unpin for Stats<T>where
T: Unpin,
impl<T> UnwindSafe for Stats<T>where
T: UnwindSafe,
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