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

Wrap in Bps

Wrap in Hertz

Wrap in KiloHertz

Wrap in MegaHertz

Implementors