pub trait ToHertz<T> {
    fn hz(self) -> Hertz<T>;
fn khz(self) -> Hertz<T>;
fn mhz(self) -> Hertz<T>;
fn dt(self) -> Hertz<T>; }
Expand description

Used to implement conversions to the Hertz struct

Required methods

From hertz

From kilohertz

From megahertz

From delta time (in seconds)

Implementations on Foreign Types

Implementors