pub enum Round {
Shown(Choice),
Hidden,
First,
}
Expand description
Represents a choice that the other player made in the last round.
Variants§
Shown(Choice)
Contains the choice that the other player made
Hidden
Indicates that the information from the last round has been hidden by the revealing policy
First
Indicates that this is the first round of the game
Trait Implementations§
impl Copy for Round
impl Eq for Round
impl StructuralPartialEq for Round
Auto Trait Implementations§
impl Freeze for Round
impl RefUnwindSafe for Round
impl Send for Round
impl Sync for Round
impl Unpin for Round
impl UnwindSafe for Round
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