pub trait RateExtU32 {
    fn Hz<const NOM: u32, const DENOM: u32>(self) -> Rate<u32, NOM, DENOM>;
fn kHz<const NOM: u32, const DENOM: u32>(self) -> Rate<u32, NOM, DENOM>;
fn MHz<const NOM: u32, const DENOM: u32>(self) -> Rate<u32, NOM, DENOM>; }
Expand description

Extension trait for simple short-hands for u32 Rate

Required methods

Shorthand for creating a rate which represents hertz.

Shorthand for creating a rate which represents kilohertz.

Shorthand for creating a rate which represents megahertz.

Implementations on Foreign Types

Implementors