pub trait AnimationTimer {
// Required methods
fn elapsed(&mut self, deadline: Deadline) -> bool;
fn register(&mut self, deadline: Deadline);
fn now(&self) -> DInstant;
}
Expand description
View on an app loop timer.
pub trait AnimationTimer {
// Required methods
fn elapsed(&mut self, deadline: Deadline) -> bool;
fn register(&mut self, deadline: Deadline);
fn now(&self) -> DInstant;
}
View on an app loop timer.