[][src]Trait pygamer::time::U32Ext

pub trait U32Ext {
    fn bps(self) -> Bps;
fn hz(self) -> Hertz;
fn khz(self) -> KiloHertz;
fn mhz(self) -> MegaHertz;
fn s(self) -> Seconds;
fn ms(self) -> Miliseconds;
fn us(self) -> Microseconds; }

Extension trait that adds convenience methods to the u32 type

Required methods

fn bps(self) -> Bps

Wrap in Bps

fn hz(self) -> Hertz

Wrap in Hertz

fn khz(self) -> KiloHertz

Wrap in KiloHertz

fn mhz(self) -> MegaHertz

Wrap in MegaHertz

fn s(self) -> Seconds

Wrap in Seconds

fn ms(self) -> Miliseconds

Wrap in Miliseconds

fn us(self) -> Microseconds

Wrap in Microseconds

Loading content...

Implementors

impl U32Ext for u32[src]

Loading content...