Closed
Description
This feature adds the following float related methods to Duration
:
as_secs_f64(&self) -> f64
as_secs_f32(&self) -> f32
from_secs_f64(secs: f64) -> Duration
from_secs_f32(secs: f32) -> Duration
mul_f64(self, rhs: f64) -> Duration
mul_f32(self, rhs: f32) -> Duration
div_f64(self, rhs: f64) -> Duration
div_f32(self, rhs: f64) -> Duration
div_duration
methods are tracked in #63139.