pub trait U32Ext {
// Required methods
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;
}Expand description
Extension trait that adds convenience methods to the u32 type
Required Methods§
Sourcefn ms(self) -> Milliseconds
fn ms(self) -> Milliseconds
Wrap in Milliseconds
Sourcefn us(self) -> Microseconds
fn us(self) -> Microseconds
Wrap in Microseconds