pub struct GameOverData {
pub score: u64,
pub cause: String,
pub survival_time: f64,
pub kills: u32,
pub level_reached: u32,
}Fields§
§score: u64§cause: String§survival_time: f64§kills: u32§level_reached: u32Implementations§
Trait Implementations§
Source§impl Clone for GameOverData
impl Clone for GameOverData
Source§fn clone(&self) -> GameOverData
fn clone(&self) -> GameOverData
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 moreAuto Trait Implementations§
impl Freeze for GameOverData
impl RefUnwindSafe for GameOverData
impl Send for GameOverData
impl Sync for GameOverData
impl Unpin for GameOverData
impl UnsafeUnpin for GameOverData
impl UnwindSafe for GameOverData
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