Struct nannou::event::Update
[−]
[src]
pub struct Update { pub since_last: Duration, pub since_start: Duration, }
Update event
Fields
since_last: Duration
The duration since the last update was emitted.
The first update's delta will be the time since the given model
function returned.
since_start: Duration
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]
fn clone(&self) -> Update
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Update
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more