[][src]Crate cardpack

Re-exports

pub use fluent::named::*;
pub use fluent::*;

Modules

fluent

Structs

BridgeBoard

BridgeBoard is a French Deck Pack that sorts and validates the hands dealt as a part of a Bridge hand.

Card

Card is the core struct in the library. A Card is made up of a Rank, a Suit and weight, which is an integer that controls how a card is sorted in a Pile or as a part of a Vector.

Pack

A Pack is an immutable pile of cards. Packs are designed to be a flexible representation of a deck, stack, discard pile, or hand.

Pile

A Pile is a sortable collection of Cards.

Rank

Rank Struct for a Card. Examples of standard Card Ranks would include: Ace, Ten, and Deuce Joker, Death (Tarot), and Ober (Skat). The weight of the Rank determines how a Card is sorted relative to it's Suit.

Suit

Suit struct for a playing card. Made up of the suit's name, letter, and symbol. Supports internationalization through fluent template files.

Constants

ACE
BIG_JOKER
CHARIOT
CLUBS
CUPS
DAUS
DEATH
DEVIL
DIAMONDS
EICHEL
EIGHT
EMPEROR
EMPRESS
FIVE
FOOL
FORTUNE
FOUR
HANGED
HEARTS
HERMIT
HERZ
HIEROPHANT
JACK
JUDGEMENT
JUSTICE
KING
KNIGHT
LAUB
LITTLE_JOKER
LOVERS
MAGICIAN
MAJOR_ARCANA
MOON
NINE
OBER
PAGE
PENTACLES
PRIESTESS
QUEEN
SEVEN
SHELLEN
SIX
SPADES
STAR
STRENGTH
SUN
SWORDS
TEMPERANCE
TEN
THREE
TOWER
TWO
UNTER
WANDS
WORLD