Struct nannou::event::Update [] [src]

pub struct Update {
    pub since_last: Duration,
    pub since_start: Duration,
}

Update event

Fields

The duration since the last update was emitted.

The first update's delta will be the time since the given model function returned.

The duration since the start of the app loop.

Specifically, this is the duration of time since the given model function returned.

Trait Implementations

impl Clone for Update
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Update
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Update> for Event
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Update

impl Sync for Update