Struct sdl2_extras::common::GameTime
source · pub struct GameTime {
pub delta: DeltaTime,
}
Fields§
§delta: DeltaTime
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GameTime
impl Send for GameTime
impl Sync for GameTime
impl Unpin for GameTime
impl UnwindSafe for GameTime
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.