Skip to main content

TimeExt

Trait TimeExt 

Source
pub trait TimeExt: Copy {
    // Required methods
    fn s(self) -> Time;
    fn ms(self) -> Time;
}
Expand description

Method-style time constructors.

Required Methods§

Source

fn s(self) -> Time

<self>s.

Source

fn ms(self) -> Time

<self>ms.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: IntoF32> TimeExt for T