Struct fuchsia_zircon::Duration [] [src]

pub struct Duration(_);

Methods

impl Duration
[src]

[src]

Sleep for the given amount of time.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Returns a Time which is a Duration after the current time. duration.after_now() is equivalent to Time::after(duration).

Trait Implementations

impl Debug for Duration
[src]

[src]

Formats the value using the given formatter.

impl Copy for Duration
[src]

impl Clone for Duration
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Duration
[src]

impl PartialEq for Duration
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Ord for Duration
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for Duration
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Duration
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<Duration> for Duration
[src]

[src]

Performs the conversion.

impl Add<Time> for Duration
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add for Duration
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for Duration
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl AddAssign for Duration
[src]

[src]

Performs the += operation.

impl SubAssign for Duration
[src]

[src]

Performs the -= operation.

impl<T> Mul<T> for Duration where
    T: Into<u64>, 
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<T> Div<T> for Duration where
    T: Into<u64>, 
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.