pub enum EndState {
Won(Player),
Draw,
}Expand description
What victory condition a Thud game is in once it has ended
Variants§
Trait Implementations§
impl Copy for EndState
impl StructuralPartialEq for EndState
Auto Trait Implementations§
impl Freeze for EndState
impl RefUnwindSafe for EndState
impl Send for EndState
impl Sync for EndState
impl Unpin for EndState
impl UnwindSafe for EndState
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