pub enum Once {
Once0 = 0,
Once1 = 1,
}Expand description
Count Once
Value on reset: 0
Variants§
Once0 = 0
0: Position counter counts repeatedly
Once1 = 1
1: Position counter counts until roll-over or roll-under, then stop.
Trait Implementations§
impl Copy for Once
impl Eq for Once
impl StructuralPartialEq for Once
Auto Trait Implementations§
impl Freeze for Once
impl RefUnwindSafe for Once
impl Send for Once
impl Sync for Once
impl Unpin for Once
impl UnsafeUnpin for Once
impl UnwindSafe for Once
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