Crate karty

Source
Expand description

Crate providing playing cards, which can be use in standard games like contract bridge or poker.

§Licence:

MIT: https://mit-license.org/

Re-exports§

pub use speedy;

Modules§

cards
Module dedicated to whole distinguished cards
error
Crate errors
figures
Module for figure symbols (Ace, King, etc…)
random
Random card sampling
register
Module for registering usage of cards
set
Card aggregation (set of cards)
suits
Module for suits (Spades, Hearts, Diamonds, Clubs) Module containing Suit trait and implementation of standard card suit.
symbol
Module for basic distinguished symbols (Figures, Suits, …)

Macros§

card_set
Build standard CardSetStd based on list of cards