pub struct GameOutcome {
pub winner: Player,
pub kind: GameKind,
}Fields§
§winner: Player§kind: GameKindTrait Implementations§
Source§impl Clone for GameOutcome
impl Clone for GameOutcome
impl Copy for GameOutcome
Source§impl Debug for GameOutcome
impl Debug for GameOutcome
impl Eq for GameOutcome
Source§impl PartialEq for GameOutcome
impl PartialEq for GameOutcome
impl StructuralPartialEq for GameOutcome
Auto Trait Implementations§
impl Freeze for GameOutcome
impl RefUnwindSafe for GameOutcome
impl Send for GameOutcome
impl Sync for GameOutcome
impl Unpin for GameOutcome
impl UnsafeUnpin for GameOutcome
impl UnwindSafe for GameOutcome
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