Function ggez::timer::duration_to_f64
source · [−]Expand description
A convenience function to convert a Rust Duration
type
to a (less precise but more useful) f64
.
Does not make sure that the Duration
is within the bounds
of the f64
.