Files
pokerfreak/src/read/suit_pattern.rs

13 lines
426 B
Rust

/// How the board's suits are distributed.
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum SuitPattern {
/// No two board cards share a suit (or no board).
Rainbow,
/// Two board cards share a suit: a flush draw is possible.
TwoTone,
/// Exactly three board cards share a suit: a flush is possible.
Monotone,
/// Four or more board cards share a suit.
FourFlush,
}