-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking issue for duration_float #54361
Copy link
Copy link
Closed
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Rust PRs: #52813, #59102
This feature adds the following float related methods to
Duration:as_secs_f64(&self) -> f64as_secs_f32(&self) -> f32from_secs_f64(secs: f64) -> Durationfrom_secs_f32(secs: f32) -> Durationmul_f64(self, rhs: f64) -> Durationmul_f32(self, rhs: f32) -> Durationdiv_f64(self, rhs: f64) -> Durationdiv_f32(self, rhs: f64) -> Durationdiv_durationmethods are tracked in #63139.