pub trait Seconds {
// Required method
fn seconds(self) -> f64;
}Expand description
A length of time. f64 means seconds; other types (a theme pace) convert.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".