pub enum TimerMode {
OneShot = 0,
Periodic = 1,
}Expand description
Timer operating mode.
Variants§
OneShot = 0
One-shot: timer counts once and stops.
Periodic = 1
Periodic: timer reloads and repeats.
Trait Implementations§
impl Copy for TimerMode
impl Eq for TimerMode
impl StructuralPartialEq for TimerMode
Auto Trait Implementations§
impl Freeze for TimerMode
impl RefUnwindSafe for TimerMode
impl Send for TimerMode
impl Sync for TimerMode
impl Unpin for TimerMode
impl UnsafeUnpin for TimerMode
impl UnwindSafe for TimerMode
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