Crate pokerhandrange [−] [src]
pokerhandrange-rs defines a Range trait and contains a SimpleRange, which can be used to create a range representation with something like new_from_string("AA,AK+"). The resulting SimpleRange can be used to check if any two cards are covered by it or to draw sample cards from it.
The simplest of range types.
Any range should be able to get checked whether a hand can be in it and to draw a random card sample.