[][src]Trait eggtimer::ToDuration

pub trait ToDuration {
    fn to_duration(&self) -> Duration;
}

A trait for types that can be turned into a Duration

Required methods

fn to_duration(&self) -> Duration

Convert the value into the Duration

Loading content...

Implementations on Foreign Types

impl ToDuration for Duration[src]

impl ToDuration for f32[src]

impl ToDuration for f64[src]

impl ToDuration for u8[src]

impl ToDuration for u16[src]

impl ToDuration for u32[src]

impl ToDuration for u64[src]

impl ToDuration for u128[src]

impl ToDuration for usize[src]

Loading content...

Implementors

Loading content...