pub enum ZeroMode {
PosZero = 0,
NegZero = 1,
Negitive = 2,
Positive = 3,
}
Expand description
the current status of the counter.
Variants§
PosZero = 0
pulse counter decreases from positive to 0.
NegZero = 1
pulse counter increases from negative to 0
Negitive = 2
pulse counter is negative (not implemented?)
Positive = 3
pulse counter is positive (not implemented?)
Trait Implementations§
source§impl PartialEq for ZeroMode
impl PartialEq for ZeroMode
impl Copy for ZeroMode
impl StructuralPartialEq for ZeroMode
Auto Trait Implementations§
impl RefUnwindSafe for ZeroMode
impl Send for ZeroMode
impl Sync for ZeroMode
impl Unpin for ZeroMode
impl UnwindSafe for ZeroMode
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