Struct nannou::state::time::Time [] [src]

pub struct Time {
    pub since_start: Duration,
    pub since_prev_update: Duration,
}

The state of time tracked by the App.

Fields

The duration since the app started running.

The duration since the previous update.

Trait Implementations

impl Copy for Time
[src]

impl Clone for Time
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Time
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Time
[src]

[src]

Returns the "default value" for a type. Read more

impl Eq for Time
[src]

impl PartialEq for Time
[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 Hash for Time
[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

Auto Trait Implementations

impl Send for Time

impl Sync for Time