Struct timer_controller::Timer
source · Expand description
A timer relative to start of program.
Fields
interval: f64
The interval in seconds between each trigger.
time: f64
The time in seconds from start of program.
next: f64
The time of next trigger in seconds.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more