pub enum Game {
Holdem,
Omaha,
ShortDeck,
}Variants§
Implementations§
Source§impl Game
impl Game
pub const fn player_cards_len(self) -> CardCount
pub const fn is_shortdeck(self) -> bool
pub fn eval_rating(self, player: Card64, board: Card64) -> HandRating
pub fn eval_flop_category( self, player: Card64, board: Board, ) -> FlopHandCategory
Trait Implementations§
impl Copy for Game
impl Eq for Game
impl StructuralPartialEq for Game
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more