pub enum DerivativeMode {
None,
LowPass,
SimpleMovingAverage,
}Expand description
Derivative filtering mode
Variants§
None
No filtering (not recommended for noisy systems)
LowPass
First-order low-pass filter (recommended)
SimpleMovingAverage
Simple moving average (fixed alpha)
Trait Implementations§
Source§impl Clone for DerivativeMode
impl Clone for DerivativeMode
Source§fn clone(&self) -> DerivativeMode
fn clone(&self) -> DerivativeMode
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 DerivativeMode
Source§impl Debug for DerivativeMode
impl Debug for DerivativeMode
impl Eq for DerivativeMode
Source§impl PartialEq for DerivativeMode
impl PartialEq for DerivativeMode
impl StructuralPartialEq for DerivativeMode
Auto Trait Implementations§
impl Freeze for DerivativeMode
impl RefUnwindSafe for DerivativeMode
impl Send for DerivativeMode
impl Sync for DerivativeMode
impl Unpin for DerivativeMode
impl UnsafeUnpin for DerivativeMode
impl UnwindSafe for DerivativeMode
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