Files
pokerfreak/src/hand/category.rs
T
2026-10-28 11:48:44 +01:00

14 lines
300 B
Rust

/// Hand classes, weakest to strongest (the derived order is the poker order).
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum Category {
HighCard,
Pair,
TwoPair,
ThreeOfAKind,
Straight,
Flush,
FullHouse,
FourOfAKind,
StraightFlush,
}