pub enum Suit {
None,
Clubs,
Diamonds,
Hearts,
Spades,
}
Available on crate feature
cards
only.Expand description
Representation of the suits in a deck of cards
Variants
None
A joker has no suit, this variant is only used for a joker card
Clubs
Diamonds
Hearts
Spades
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Suit
impl Send for Suit
impl Sync for Suit
impl Unpin for Suit
impl UnwindSafe for Suit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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