Trait bitrate::U32BitrateExt [−][src]
pub trait U32BitrateExt<T> { fn bps(self) -> Bps<T>; fn hz(self) -> Hertz<T>; fn khz(self) -> KiloHertz<T>; fn mhz(self) -> MegaHertz<T>; }
Extension trait that adds convenience methods to the u32
type.
Required Methods
fn bps(self) -> Bps<T>
Wrap in Bps
fn hz(self) -> Hertz<T>
Wrap in Hertz
fn khz(self) -> KiloHertz<T>
Wrap in KiloHertz
fn mhz(self) -> MegaHertz<T>
Wrap in MegaHertz
Implementors
impl U32BitrateExt<u32> for u32