Struct sdl2_extras::common::DeltaTime
source · pub struct DeltaTime {
pub elapsed: Duration,
}
Fields§
§elapsed: Duration
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DeltaTime
impl Send for DeltaTime
impl Sync for DeltaTime
impl Unpin for DeltaTime
impl UnwindSafe for DeltaTime
Blanket Implementations§
§impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere
T: Any,
fn get_type_id(&self) -> TypeId
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.