pub enum CountedQuantile {
Value(f64),
Unbounded,
}Expand description
A quantile that counts the runs that gave no value (Distribution::quantile_counting_missing).
Variants§
Value(f64)
The quantile, a value the runs gave or one between two of them.
Unbounded
Too many runs gave no value for the rest to bound the quantile: its interpolation puts weight on a missing run.
Trait Implementations§
Source§impl Clone for CountedQuantile
impl Clone for CountedQuantile
Source§fn clone(&self) -> CountedQuantile
fn clone(&self) -> CountedQuantile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CountedQuantile
Source§impl Debug for CountedQuantile
impl Debug for CountedQuantile
Source§impl<'de> Deserialize<'de> for CountedQuantile
impl<'de> Deserialize<'de> for CountedQuantile
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 PartialEq for CountedQuantile
impl PartialEq for CountedQuantile
Source§fn eq(&self, other: &CountedQuantile) -> bool
fn eq(&self, other: &CountedQuantile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CountedQuantile
impl Serialize for CountedQuantile
impl StructuralPartialEq for CountedQuantile
Auto Trait Implementations§
impl Freeze for CountedQuantile
impl RefUnwindSafe for CountedQuantile
impl Send for CountedQuantile
impl Sync for CountedQuantile
impl Unpin for CountedQuantile
impl UnsafeUnpin for CountedQuantile
impl UnwindSafe for CountedQuantile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more