Struct input::UpdateArgs
[−]
[src]
pub struct UpdateArgs {
pub dt: f64,
}Update arguments, such as delta time in seconds
Fields
dt: f64
Delta time in seconds.
Trait Implementations
impl Copy for UpdateArgs[src]
impl Clone for UpdateArgs[src]
fn clone(&self) -> UpdateArgs[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 PartialEq for UpdateArgs[src]
fn eq(&self, __arg_0: &UpdateArgs) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UpdateArgs) -> bool[src]
This method tests for !=.
impl Debug for UpdateArgs[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<UpdateArgs> for Loop[src]
fn from(args: UpdateArgs) -> Self[src]
Performs the conversion.
impl From<UpdateArgs> for Event[src]
fn from(args: UpdateArgs) -> Self[src]
Performs the conversion.