9 lines
322 B
Rust
9 lines
322 B
Rust
/// Order of the hand categories at showdown.
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
|
pub enum HandRanking {
|
|
/// High card < pair < … < straight < flush < full house < quads < straight flush.
|
|
Standard,
|
|
/// Short deck: a flush beats a full house; everything else as `Standard`.
|
|
FlushOverFullHouse,
|
|
}
|