pub enum Direction {
Above,
Below,
Cross,
}Expand description
Direction of a threshold test applied to a signal.
Variants§
Above
Passes +1 when the signal is strictly above the threshold, 0 otherwise.
Below
Passes -1 when the signal is strictly below the threshold, 0 otherwise.
Cross
Passes +1 on an upward cross, -1 on a downward cross, 0 otherwise.
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