Crate ckc_rs

Source

Modules§

cards
deck
evaluate
hand_rank
parse

Structs§

CardNumber
u32 constants for all 52 cards in a standard poker deck.
CardRankIter
An iterator over the variants of CardRank
CardSuitIter
An iterator over the variants of CardSuit

Enums§

CardRank
CardSuit
HandError

Traits§

PokerCard
Shifty
Trait that shifts the suit of a card to the next one down. Spades to hearts; hearts to diamonds, diamonds to clubs, and clubs back to spades.

Type Aliases§

CKCNumber
A PokerCard is a u32 representation of a variant of Cactus Kev’s binary representation of a poker card as designed for rapid hand evaluation as documented here.