pub struct GameTimer {
pub elapsed: f64,
pub paused_elapsed: f64,
pub session_count: u32,
pub first_played_at: u64,
/* private fields */
}Fields§
§elapsed: f64§paused_elapsed: f64§session_count: u32§first_played_at: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GameTimer
impl RefUnwindSafe for GameTimer
impl Send for GameTimer
impl Sync for GameTimer
impl Unpin for GameTimer
impl UnsafeUnpin for GameTimer
impl UnwindSafe for GameTimer
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