pub enum QuantileMethod {
Linear,
Lower,
Higher,
MidPoint,
}Expand description
Enum representing different methods for calculating quantiles.
Variants§
Linear
Linear interpolation between closest ranks.
Lower
Use the lower of the two nearest ranks.
Higher
Use the higher of the two nearest ranks.
MidPoint
Use the average of the two nearest ranks.
Trait Implementations§
Source§impl Clone for QuantileMethod
impl Clone for QuantileMethod
Source§fn clone(&self) -> QuantileMethod
fn clone(&self) -> QuantileMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuantileMethod
Auto Trait Implementations§
impl Freeze for QuantileMethod
impl RefUnwindSafe for QuantileMethod
impl Send for QuantileMethod
impl Sync for QuantileMethod
impl Unpin for QuantileMethod
impl UnwindSafe for QuantileMethod
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