Crate open_pql

Source

Modules§

constants
functions
pql_parser
prim
range_parser
vm

Structs§

Board
Represents a poker board (flop, turn, river)
Card
Single Card
Card64
A 64-bit representation of a set of playing cards using bitwise operations.
CardIter
Iterator over individual cards in a Card64 set.
DeadCards
HandIter
Iterator for generating all possible combinations of N cards
HandN
A hand of N cards
HandRatingView
a struct that decodes i16 to human readable Hand Ranking
PQLFlopHandCategory
PQLFraction
PQLHandType
PQLHiRating
Hand Ranking
PQLLoRating
PQLPlayer
Rank16
Rank Set
Rank16Iter
Iterator over the ranks in each suit of a Card64.
RankIdx
StatementsRunner
Suit4
Suit Masks
SuitIdx
SuitMapping
Maps original suits to isomorphic suits for normalization

Enums§

FlopHandCategory
HandType
HandTypeOrd
A enum that handles strength of hand type for different games
InternalError
PQLError
PQLGame
PQLRange
PQLStreet
PQLType
ParseError
Rank
Enum for Ranks
RuntimeError
Suit
Enum for Suits
TypeError

Functions§

eval_holdem7
eval_omaha9
eval_shortdeck7
init_vm
Panics
to_suitvar_char
Converts a suit to its isomorphic character representation
u8_to_suit_str
u16_to_rank_str

Type Aliases§

CardCount
Card count type
Flop
Hand
HandRatingInt
Loc
LocInfo
PQLBoardRange
PQLBoolean
PQLCard
PQLCardCount
PQLDeadCards
PQLDouble
PQLEquity
PQLInteger
PQLLong
PQLNumeric
PQLPlayerCount
PQLRank
PQLRankSet
PQLString
PQLSuit
PQLSuitSet