pub enum Direction {
Neutral,
Rising,
Falling,
}Expand description
Directional change or anomaly direction.
Used by algorithms that detect shifts, anomalies, or trends in a signal.
Variants§
Neutral
No directional change detected.
Rising
Upward: mean shifted up, value is high, trend is rising.
Falling
Downward: mean shifted down, value is low, trend is falling.
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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