Trait ISizeBitrateExt

Source
pub trait ISizeBitrateExt<T> {
    // Required methods
    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 isize type.

Required Methods§

Source

fn bps(self) -> Bps<T>

Wrap in Bps

Source

fn hz(self) -> Hertz<T>

Wrap in Hertz

Source

fn khz(self) -> KiloHertz<T>

Wrap in KiloHertz

Source

fn mhz(self) -> MegaHertz<T>

Wrap in MegaHertz

Implementations on Foreign Types§

Source§

impl ISizeBitrateExt<isize> for isize

Source§

fn bps(self) -> Bps<isize>

Source§

fn hz(self) -> Hertz<isize>

Source§

fn khz(self) -> KiloHertz<isize>

Source§

fn mhz(self) -> MegaHertz<isize>

Implementors§