pub struct UpdateArgs {
pub dt: f64,
}
Expand description
Update arguments, such as delta time in seconds.
Fields§
§dt: f64
Delta 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 duplicate 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.
Source§impl PartialEq for UpdateArgs
impl PartialEq for UpdateArgs
Source§impl PartialOrd for UpdateArgs
impl PartialOrd for UpdateArgs
Source§impl Serialize for UpdateArgs
impl Serialize for UpdateArgs
impl Copy for UpdateArgs
impl StructuralPartialEq for UpdateArgs
Auto Trait Implementations§
impl Freeze for UpdateArgs
impl RefUnwindSafe for UpdateArgs
impl Send for UpdateArgs
impl Sync for UpdateArgs
impl Unpin for UpdateArgs
impl UnwindSafe for UpdateArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more