pub trait U32Ext {
    fn bps(self) -> Bps;
    fn hz(self) -> Hertz;
    fn khz(self) -> KiloHertz;
    fn mhz(self) -> MegaHertz;
    fn s(self) -> Seconds;
    fn ms(self) -> Milliseconds;
    fn us(self) -> Microseconds;
    fn ns(self) -> Nanoseconds;
}
Expand description

Extension trait that adds convenience methods to the u32 type

Required Methods

Wrap in Bps

Wrap in Hertz

Wrap in KiloHertz

Wrap in MegaHertz

Wrap in Seconds

Wrap in Milliseconds

Wrap in Microseconds

Wrap in NanoSeconds

Implementations on Foreign Types

Implementors