Enum advent_of_code_2022::day_2::Outcome
source · enum Outcome {
Win,
Loss,
Draw,
}
Expand description
Encodes the possible outcome of a round
Variants§
Trait Implementations§
source§impl PartialEq<Outcome> for Outcome
impl PartialEq<Outcome> for Outcome
impl Eq for Outcome
impl StructuralEq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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