Function holdem::hand_rank_to_class
[−]
[src]
pub fn hand_rank_to_class(val: &HandRank) -> HandRankClass
Translates a hand rank to a rank class. assumes there are HAND_RANK_COUNT distinct hand ranks, where the largest are the most valuable. Numbers based on: http://www.suffecool.net/poker/evaluator.html