[][src]Crate cardpack

Re-exports

pub use fluent::*;

Modules

fluent

Structs

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, a stack, a discard pile, or a hand.

Pile

A Pile is a sortable collection of Cards.

Rank
Suit

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