pub struct GameEnd {
pub winner: Option<PlayerId>,
pub reason: String,
}Fields§
§winner: Option<PlayerId>§reason: StringTrait 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