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
since_start: Duration
The duration since the app started running.
since_prev_update: Duration
The duration since the previous update.
Trait Implementations
impl Copy for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
[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 Time
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for Time
[src]
impl Eq for Time
[src]
impl PartialEq for Time
[src]
fn eq(&self, __arg_0: &Time) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Time) -> bool
[src]
This method tests for !=
.