pub trait I32BitrateExt<T> {
    fn bps(self) -> Bps<T>;
    fn hz(self) -> Hertz<T>;
    fn khz(self) -> KiloHertz<T>;
    fn mhz(self) -> MegaHertz<T>;
}
Expand description

Extension trait that adds convenience methods to the i32 type.

Required Methods

Wrap in Bps

Wrap in Hertz

Wrap in KiloHertz

Wrap in MegaHertz

Implementations on Foreign Types

Implementors