Enum sixtyfps::TimerMode [−]
pub enum TimerMode {
SingleShot,
Repeated,
}
Expand description
The TimerMode specifies what should happen after the timer fired.
Used by the Timer::start
function.
Variants
SingleShot
A SingleShot timer is fired only once.
Repeated
A Repeated timer is fired repeatedly until it is stopped.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimerMode
impl UnwindSafe for TimerMode
Blanket Implementations
Mutably borrows from an owned value. Read more