[][src]Trait heng_rs::ToDuration

pub trait ToDuration: Sized {
    fn into_u64(self) -> u64;

    fn d(self) -> Duration { ... }
fn h(self) -> Duration { ... }
fn m(self) -> Duration { ... }
fn s(self) -> Duration { ... }
fn millis(self) -> Duration { ... }
fn micros(self) -> Duration { ... }
fn nanos(self) -> Duration { ... } }

Required methods

fn into_u64(self) -> u64

Loading content...

Provided methods

fn d(self) -> Duration

fn h(self) -> Duration

fn m(self) -> Duration

fn s(self) -> Duration

fn millis(self) -> Duration

fn micros(self) -> Duration

fn nanos(self) -> Duration

Loading content...

Implementations on Foreign Types

impl ToDuration for u16[src]

Loading content...

Implementors

Loading content...