pub enum DiscardTileError {
ClaimedAnotherTile,
NoPlayerCanDiscard,
PlayerHasNoTile,
TileIsExposed,
TileIsPartOfMeld,
}
Variants§
Trait Implementations§
source§impl Clone for DiscardTileError
impl Clone for DiscardTileError
source§fn clone(&self) -> DiscardTileError
fn clone(&self) -> DiscardTileError
Returns a copy 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 DiscardTileError
impl Debug for DiscardTileError
source§impl IntoEnumIterator for DiscardTileError
impl IntoEnumIterator for DiscardTileError
source§impl PartialEq for DiscardTileError
impl PartialEq for DiscardTileError
impl Eq for DiscardTileError
impl StructuralPartialEq for DiscardTileError
Auto Trait Implementations§
impl Freeze for DiscardTileError
impl RefUnwindSafe for DiscardTileError
impl Send for DiscardTileError
impl Sync for DiscardTileError
impl Unpin for DiscardTileError
impl UnwindSafe for DiscardTileError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)