Trait bitrate::USizeBitrateExt [−][src]
pub trait USizeBitrateExt<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 usize
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 USizeBitrateExt<usize> for usize