[][src]Trait quanta::IntoNanoseconds

pub trait IntoNanoseconds {
    pub fn into_nanos(self) -> u64;
}

Type which can be converted into a nanosecond representation.

This allows users of Mock to increment/decrement the time both with raw integer values and the more convenient Duration type.

Required methods

pub fn into_nanos(self) -> u64[src]

Loading content...

Implementations on Foreign Types

impl IntoNanoseconds for u64[src]

impl IntoNanoseconds for Duration[src]

Loading content...

Implementors

Loading content...