pub struct GameEnd {
pub winner: PlayerId,
pub global_stats: Vec<GlobalStat>,
pub player_stats: Vec<PlayerStat>,
}Fields§
§winner: PlayerId§global_stats: Vec<GlobalStat>§player_stats: Vec<PlayerStat>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GameEnd
impl RefUnwindSafe for GameEnd
impl Send for GameEnd
impl Sync for GameEnd
impl Unpin for GameEnd
impl UnwindSafe for GameEnd
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