Struct nannou::event::Update [−][src]
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]
impl Clone for Update
fn clone(&self) -> Update
[src]
fn clone(&self) -> Update
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Update
[src]
impl Debug for Update
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Update> for Event
[src]
impl From<Update> for Event