pub enum FirstMover {
Player,
Opponent,
}Expand description
Which side moved first this turn, surfaced for the caller / parity oracle.
Variants§
Trait Implementations§
Source§impl Clone for FirstMover
impl Clone for FirstMover
Source§fn clone(&self) -> FirstMover
fn clone(&self) -> FirstMover
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FirstMover
Source§impl Debug for FirstMover
impl Debug for FirstMover
impl Eq for FirstMover
Source§impl PartialEq for FirstMover
impl PartialEq for FirstMover
impl StructuralPartialEq for FirstMover
Auto Trait Implementations§
impl Freeze for FirstMover
impl RefUnwindSafe for FirstMover
impl Send for FirstMover
impl Sync for FirstMover
impl Unpin for FirstMover
impl UnsafeUnpin for FirstMover
impl UnwindSafe for FirstMover
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