Expand description
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.
Structs§
- Simple
Range - The simplest of range types.
Traits§
- Range
- Any range should be able to get checked whether a hand can be in it and to draw a random card sample.