pub struct AppLifeCycle {
pub running: bool,
/* private fields */
}Fields§
§running: boolImplementations§
Source§impl AppLifeCycle
impl AppLifeCycle
pub fn new(timer: Box<dyn AppTimer>) -> Self
pub fn delta_time(&self) -> Duration
pub fn delta_time_seconds(&self) -> f64
pub fn current_state_token(&self) -> StateToken
Auto Trait Implementations§
impl Freeze for AppLifeCycle
impl !RefUnwindSafe for AppLifeCycle
impl Send for AppLifeCycle
impl Sync for AppLifeCycle
impl Unpin for AppLifeCycle
impl !UnwindSafe for AppLifeCycle
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