[][src]Struct rtfm::Duration

pub struct Duration(_);

A Duration type to represent a span of time.

This data type is only available when the timer-queue feature is enabled

Methods

impl Duration
[src]

Returns the total number of clock cycles contained by this Duration

Trait Implementations

impl PartialEq<Duration> for Duration
[src]

impl Eq for Duration
[src]

impl Ord for Duration
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd<Duration> for Duration
[src]

impl Add<Duration> for Instant
[src]

The resulting type after applying the + operator.

impl Add<Duration> for Duration
[src]

The resulting type after applying the + operator.

impl Sub<Duration> for Instant
[src]

The resulting type after applying the - operator.

impl Sub<Duration> for Duration
[src]

The resulting type after applying the - operator.

impl AddAssign<Duration> for Instant
[src]

impl AddAssign<Duration> for Duration
[src]

impl SubAssign<Duration> for Instant
[src]

impl SubAssign<Duration> for Duration
[src]

impl Copy for Duration
[src]

impl Clone for Duration
[src]

Performs copy-assignment from source. Read more

impl Default for Duration
[src]

Auto Trait Implementations

impl Send for Duration

impl Sync for Duration

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T
[src]

Should always be Self