Function pokereval::eval_5cards [] [src]

pub fn eval_5cards(cards: &[&Card; 5]) -> HandRank

Evalate a hand consisting of 5 cards. The cards are grouped in an array. This is quite inefficient, due to the arrays that need to be created. But convenient.