pub trait GameClock {
// Required method
fn now(&mut self) -> Instant;
}Expand description
Output stream for the game; now returns the current instant.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".