opql/types/
mod.rs

1use openpql_prelude as prelude;
2// Range Values:
3pub use pql_board_range::PQLBoardRange;
4pub use pql_range::PQLRange;
5
6use super::*;
7
8// Primitives
9pub type PQLInteger = PQLLong;
10pub type PQLCardCount = prelude::CardCount;
11pub type PQLDouble = f64;
12pub type PQLEquity = PQLDouble;
13pub type PQLLong = i64;
14pub type PQLPlayerCount = PQLCardCount;
15pub type PQLBoolean = bool;
16pub type PQLString = String;
17pub use pql_fraction::PQLFraction;
18pub use pql_numeric::PQLNumeric;
19
20// Card Values:
21pub type DeadCards = PQLCardSet;
22pub type PQLBoard = prelude::Board;
23pub type PQLCard = prelude::Card;
24pub type PQLCardSet = prelude::Card64;
25pub type PQLFlop = prelude::Flop;
26pub type PQLRank = prelude::Rank;
27pub type PQLRankSet = prelude::Rank16;
28pub type PQLSuit = prelude::Suit;
29pub type PQLSuitSet = prelude::Suit4;
30
31// Category Values:
32pub type PQLFlopHandCategory = prelude::FlopHandCategory;
33pub type PQLHiRating = prelude::HandRating;
34pub type PQLLoRating = PQLHiRating;
35pub struct PQLHandRanking {}
36pub type PQLHandType = prelude::HandType;
37
38// Game Values:
39pub type PQLPlayer = prelude::Player;
40pub use pql_street::PQLStreet;
41pub type PQLGame = prelude::Game;
42
43mod pql_board_range;
44mod pql_fraction;
45mod pql_numeric;
46mod pql_range;
47mod pql_street;
48mod pql_type;
49
50pub use pql_type::*;