Trait pokerhandrange::Range
[−]
[src]
pub trait Range { fn contains(&self, hand: (&Card, &Card)) -> bool; fn draw(&self) -> (Card, Card); }
Any range should be able to get checked whether a hand can be in it and to draw a random card sample.
Required Methods
Implementors
impl Range for SimpleRange