Enum advent_of_code_2022::day_2::Move
source · enum Move {
Rock,
Paper,
Scissors,
}
Expand description
Encodes the possible moves a player can make
Variants§
Trait Implementations§
source§impl PartialEq<Move> for Move
impl PartialEq<Move> for Move
impl Copy for Move
impl Eq for Move
impl StructuralEq for Move
impl StructuralPartialEq for Move
Auto Trait Implementations§
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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