Enum libcoinche::game::TrickResult
source · [−]pub enum TrickResult {
Nothing,
TrickOver(PlayerPos, GameResult),
}
Expand description
Result of a trick
Variants
Nothing
TrickOver(PlayerPos, GameResult)
Trait Implementations
sourceimpl Debug for TrickResult
impl Debug for TrickResult
sourceimpl PartialEq<TrickResult> for TrickResult
impl PartialEq<TrickResult> for TrickResult
sourcefn eq(&self, other: &TrickResult) -> bool
fn eq(&self, other: &TrickResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrickResult) -> bool
fn ne(&self, other: &TrickResult) -> bool
This method tests for !=
.
impl Eq for TrickResult
impl StructuralEq for TrickResult
impl StructuralPartialEq for TrickResult
Auto Trait Implementations
impl RefUnwindSafe for TrickResult
impl Send for TrickResult
impl Sync for TrickResult
impl Unpin for TrickResult
impl UnwindSafe for TrickResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more