PQLHandType

Type Alias PQLHandType 

Source
pub type PQLHandType = HandType;

Aliased Type§

pub enum PQLHandType {
    HighCard,
    Pair,
    TwoPair,
    Trips,
    Straight,
    Flush,
    FullHouse,
    Quads,
    StraightFlush,
}

Variants§

§

HighCard

No matching cards (default/weakest hand type)

§

Pair

Two cards of the same rank

§

TwoPair

Two different pairs

§

Trips

Three cards of the same rank

§

Straight

Five cards in sequential rank

§

Flush

Five cards of the same suit

§

FullHouse

Three of a kind plus a pair

§

Quads

Four cards of the same rank

§

StraightFlush

Five cards in sequential rank, all of the same suit