Struct ndhistogram::value::Sum
source · pub struct Sum<T = f64> { /* private fields */ }
Expand description
ndhistogram bin value type for filling unweighted values. Analogous to WeightedSum. Methods returning variance and standard deviation assume Poisson statistics.
Implementations§
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Sum<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Sum<T>where T: Deserialize<'de>,
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
source§impl<T: Ord> Ord for Sum<T>
impl<T: Ord> Ord for Sum<T>
source§impl<T: PartialEq> PartialEq<Sum<T>> for Sum<T>
impl<T: PartialEq> PartialEq<Sum<T>> for Sum<T>
source§impl<T: PartialOrd> PartialOrd<Sum<T>> for Sum<T>
impl<T: PartialOrd> PartialOrd<Sum<T>> for Sum<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for Sum<T>
impl<T: Eq> Eq for Sum<T>
impl<T> StructuralEq for Sum<T>
impl<T> StructuralPartialEq for Sum<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Sum<T>where T: RefUnwindSafe,
impl<T> Send for Sum<T>where T: Send,
impl<T> Sync for Sum<T>where T: Sync,
impl<T> Unpin for Sum<T>where T: Unpin,
impl<T> UnwindSafe for Sum<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