pub enum ConstantModelType {
SimpleMovingAverage,
SmoothedMovingAverage,
ExponentialMovingAverage,
PersonalisedMovingAverage {
alpha_num: f64,
alpha_den: f64,
},
SimpleMovingMedian,
SimpleMovingMode,
}
Expand description
Determines which constant model to use for a center point.
Variants§
SimpleMovingAverage
SmoothedMovingAverage
ExponentialMovingAverage
PersonalisedMovingAverage
SimpleMovingMedian
SimpleMovingMode
Trait Implementations§
Source§impl Clone for ConstantModelType
impl Clone for ConstantModelType
Source§fn clone(&self) -> ConstantModelType
fn clone(&self) -> ConstantModelType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConstantModelType
impl Debug for ConstantModelType
Source§impl PartialEq for ConstantModelType
impl PartialEq for ConstantModelType
impl Copy for ConstantModelType
impl StructuralPartialEq for ConstantModelType
Auto Trait Implementations§
impl Freeze for ConstantModelType
impl RefUnwindSafe for ConstantModelType
impl Send for ConstantModelType
impl Sync for ConstantModelType
impl Unpin for ConstantModelType
impl UnwindSafe for ConstantModelType
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