pub enum RevokePosition {
Second,
Third,
Fourth,
}Expand description
Position of the revoking card within the current trick
The lead (first card) cannot revoke; these variants represent the subsequent seats in playing order.
Variants§
Second
Second card of the trick (index 1)
Third
Third card of the trick (index 2)
Fourth
Fourth card of the trick (index 3)
Trait Implementations§
Source§impl Clone for RevokePosition
impl Clone for RevokePosition
Source§fn clone(&self) -> RevokePosition
fn clone(&self) -> RevokePosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevokePosition
impl Debug for RevokePosition
Source§impl Display for RevokePosition
impl Display for RevokePosition
Source§impl Hash for RevokePosition
impl Hash for RevokePosition
Source§impl PartialEq for RevokePosition
impl PartialEq for RevokePosition
impl Copy for RevokePosition
impl Eq for RevokePosition
impl StructuralPartialEq for RevokePosition
Auto Trait Implementations§
impl Freeze for RevokePosition
impl RefUnwindSafe for RevokePosition
impl Send for RevokePosition
impl Sync for RevokePosition
impl Unpin for RevokePosition
impl UnsafeUnpin for RevokePosition
impl UnwindSafe for RevokePosition
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