Crate deckofcards [−] [src]
Macros
card |
Creates a |
combine_hands |
Creates a new |
deck |
Creates a standard deck of 52 playing cards |
hand |
Creates a |
Structs
Card |
A |
Deck |
The |
Hand |
A |
Enums
Rank |
This enumeration holds the ranks in a standard deck of cards. |
Suit |
This enumeration holds the suits in a standard deck of cards. |
Traits
Cards |
Certain actions are common to a deck and a hand of cards |
Functions
cards_of_rank |
Returns cards of the specified rank |
cards_of_suit |
Returns cards of the specified suit |