Enum skillratings::Outcomes
source · pub enum Outcomes {
WIN,
LOSS,
DRAW,
}
Expand description
The possible outcomes for a match: Win, Draw, Loss.
Note that this is always from the perspective of player one.
That means a win is a win for player one and a loss is a win for player two.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Outcomes
impl PartialEq for Outcomes
impl Copy for Outcomes
impl Eq for Outcomes
impl StructuralEq for Outcomes
impl StructuralPartialEq for Outcomes
Auto Trait Implementations§
impl RefUnwindSafe for Outcomes
impl Send for Outcomes
impl Sync for Outcomes
impl Unpin for Outcomes
impl UnwindSafe for Outcomes
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