Struct input::UpdateArgs
source · pub struct UpdateArgs {
pub dt: f64,
}Expand description
Update arguments, such as delta time in seconds
Fields§
§dt: f64Delta time in seconds.
Trait Implementations§
source§impl Clone for UpdateArgs
impl Clone for UpdateArgs
source§fn clone(&self) -> UpdateArgs
fn clone(&self) -> UpdateArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UpdateArgs
impl Debug for UpdateArgs
source§impl<'de> Deserialize<'de> for UpdateArgs
impl<'de> Deserialize<'de> for UpdateArgs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<UpdateArgs> for Event
impl From<UpdateArgs> for Event
source§fn from(args: UpdateArgs) -> Self
fn from(args: UpdateArgs) -> Self
Converts to this type from the input type.
source§impl From<UpdateArgs> for Loop
impl From<UpdateArgs> for Loop
source§fn from(args: UpdateArgs) -> Self
fn from(args: UpdateArgs) -> Self
Converts to this type from the input type.